http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53450

             Bug #: 53450
           Summary: [4.8 Regression]  ICE in compiling
                    libiberty/cp-demangle.c with -O2
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: vincenzo.innoce...@cern.ch


compile:  /home/data/newsoft/gcc-build/./gcc/xgcc
-B/home/data/newsoft/gcc-build/./gcc/
-B/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/bin/
-B/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/lib/ -isystem
/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/include -isystem
/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/sys-include
-DHAVE_CONFIG_H -I.. -I/home/data/newsoft/gcc-trunk/libstdc++-v3/../libiberty
-I/home/data/newsoft/gcc-trunk/libstdc++-v3/../include
-I/home/data/newsoft/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/data/newsoft/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/data/newsoft/gcc-trunk/libstdc++-v3/libsupc++ -g -O2 -ftree-vectorize
-fPIC -DIN_GLIBCPP_V3 -Wno-error -c cp-demangle.c  -fPIC -DPIC -o cp-demangle.o
In file included from /usr/include/string.h:637:0,
                 from cp-demangle.c:112:
cp-demangle.c: In function 'd_print_comp.part.9':
cp-demangle.c:3933:16: internal compiler error: in int_mode_for_mode, at
stor-layout.c:424
             && strncmp (dcl->u.s_name.s, "JArray", 6) == 0)
                ^


 cd
/home/data/newsoft/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++
[innocent@vinavx0 libsupc++]$ /home/data/newsoft/gcc-build/./gcc/xgcc
-B/home/data/newsoft/gcc-build/./gcc/
-B/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/bin/
-B/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/lib/ -isystem
/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/include -isystem
/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/sys-include
-DHAVE_CONFIG_H -I.. -I/home/data/newsoft/gcc-trunk/libstdc++-v3/../libiberty
-I/home/data/newsoft/gcc-trunk/libstdc++-v3/../include
-I/home/data/newsoft/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/data/newsoft/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/data/newsoft/gcc-trunk/libstdc++-v3/ -g -ftree-vectorize -fPIC
-DIN_GLIBCPP_V3 -Wno-error -c cp-demangle.c  -fPIC -DPIC -o cp-demangle.o

succeds…

Reply via email to