g++ 2.91.66, linux, ICE #12

Alexis Wilke alexis@m2osw.com
Wed Jul 10 09:32:00 GMT 2002


Originator 
    Alexis Wilke

Organization 
    Made to Order Software, Ltd.

Confidential 
    no

Synopsis 
    g++ breaks with an Internal compiler error 12.

Severity 
    serious 

Priority 
    low 

Category 
    c++ 

Class 
    ice-on-legal-code 

Release 
    gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Environment 
    Linux halk 2.2.14-5.0smp #1 SMP Tue Mar 7 21:01:40 EST 2000 i686
unknown

Description 
    libsswf.h:296: Internal compiler error 12.
    libsswf.h:296: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
    libsswf.h:296: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
details.

How-To-Repeat 

    See attached libsswf_tags.ii

    g++ -v -save-temps -c -O2 -g -Wall -Werror -DDEBUG=1 -DYYDEBUG=1
-D_ISOC99_SOURCE libsswf_tags.c++ 
    Reading specs from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
    gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
     /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cpp -lang-c++ -v
-undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91
-D__ELF__ -Dunix -Di386 -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__
-D__i386__ -D__linux__ -D__unix -D__i386 -D__linux
-Asystem(posix) -D__EXCEPTIONS -D__OPTIMIZE__ -g -Wall -Werror
-Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
-D__tune_i386__ -DDEBUG=1 -DYYDEBUG=1 -D_ISOC99_SOURCE libsswf_tags.c++
libsswf_tags.ii
    GNU CPP version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) (i386
Linux/ELF)
    #include "..." search starts here:
    #include <...> search starts here:
     /usr/include/g++-2
     /usr/i386-redhat-linux/include
     /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include
     /usr/include
    End of search list.
     /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cc1plus
libsswf_tags.ii -quiet -dumpbase libsswf_tags.cc -g -O2 -Wall -Werror
-version -o libsswf_tags.s
    GNU C++ version egcs-2.91.66 19990314/Linux (egcs-1.1.2
release) (i386-redhat-linux) compiled by GNU C version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release).
    In file included from libsswf_tags.c++:19:
    libsswf.h:296: Internal compiler error 12.
    libsswf.h:296: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
    libsswf.h:296: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
details.

Fix 
    I could not reproduce the problem without including all the code in
the header
    file (libsswf.h). I don't know yet if there is a work around with this
version
    of GCC.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsswf_tags.ii.gz
Type: application/x-gzip
Size: 20562 bytes
Desc: 
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020710/39e74429/attachment.bin>


More information about the Gcc-bugs mailing list