http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53420
Bug #: 53420 Summary: [4.8 Regression] ICE in iterative_hash_expr, at tree.c:7039 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org Host: hppa2.0w-hp-hpux11.00 Target: hppa2.0w-hp-hpux11.00 Build: hppa2.0w-hp-hpux11.00 Created attachment 27445 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27445 Preprocessed source Following occurs in stage2: /xxx/gnu/gcc/objdir/./prev-gcc/xgcc -B/xxx/gnu/gcc/objdir/./prev-gcc/ -B/opt/gnu /gcc/gcc-4.8/hppa2.0w-hp-hpux11.00/bin/ -B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux1 1.00/bin/ -B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.00/lib/ -isystem /opt/gnu/gc c/gcc-4.8/hppa2.0w-hp-hpux11.00/include -isystem /opt/gnu/gcc/gcc-4.8/hppa2.0w-h p-hpux11.00/sys-include -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -DIN_GCC_FRON TEND -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstr ict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat -fno-co mmon -DHAVE_CONFIG_H -I. -Ic-family -I../../gcc/gcc -I../../gcc/gcc/c-family -I ../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I/opt/gnu/gcc/gmp/in clude -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../ libdecnumber ../../gcc/gcc/c-family/c-lex.c -o c-family/c-lex.o In file included from ../../gcc/gcc/c-family/c-lex.c:23:0: ../../gcc/gcc/c-family/c-lex.c: In function 'c_lex_with_flags': ../../gcc/gcc/system.h:958:93: internal compiler error: in iterative_hash_expr, at tree.c:7039 #define CONST_CAST2(TOTYPE,FROMTYPE,X) ((__extension__(union {FROMTYPE _q; TOTY PE _nq;})(X))._nq) ^ ../../gcc/gcc/system.h:958:93: note: in expansion of macro 'CONST_CAST2' #define CONST_CAST2(TOTYPE,FROMTYPE,X) ((__extension__(union {FROMTYPE _q; TOTY PE _nq;})(X))._nq) ^ ../../gcc/gcc/system.h:977:28: note: expanded from here #define CONST_CAST(TYPE,X) CONST_CAST2(TYPE, const TYPE, (X)) ^ ../../gcc/gcc/system.h:977:28: note: in expansion of macro 'CONST_CAST' ../../gcc/gcc/c-family/c-lex.c:355:12: note: expanded from here str = CONST_CAST (char *, TREE_STRING_POINTER (num_string)); ^ # ./xgcc -B./ -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa2.0w-hp-hpux11.00 Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as --enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.8 --with-gmp=/opt/gnu/gcc/gmp --enable-debug=no --disable-nls --disable-build-poststage1-with-cxx --enable-threads=posix --enable-languages=c,c++,objc,fortran,java,ada,obj-c++ Thread model: posix gcc version 4.8.0 20120518 (experimental) [trunk revision 187647] (GCC)