>Number:         151716
>Category:       misc
>Synopsis:       gcc fail with internal compiler error when using 
>-finput-charset option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 25 14:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sylvain Defresne
>Release:        FreeBSD 8.0-RELEASE-p4 amd64
>Organization:
Eugen Systems
>Environment:
System: FreeBSD z 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Mon Jul 12 20:55:11 
UTC 2010 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
When invoking gcc with the -finput-charset=iso-8859-1 option, it fails with an 
internal compiler error. This can be easily reproduced by trying to compile an 
empty source file with this option.

Error is :
  $ echo > empty.cpp
  $ gcc -c empty.cpp -finput-charset=iso-8859-1
    cc1plus: internal compiler error: Segmentation fault: 11
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
  $ gcc -v
    Using built-in specs.
    Target: amd64-undermydesk-freebsd
    Configured with: FreeBSD/amd64 system compiler
    Thread model: posix
    gcc version 4.2.1 20070719  [FreeBSD]

>How-To-Repeat:
echo > empty.cpp
gcc -c empty.cpp -finput-charset=iso-8859-1
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to