http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46389
Summary: [4.6 Regression] ICE in add_var_loc_to_decl, at dwarf2out.c:8221 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: build, ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: rgue...@gcc.gnu.org Target: s390-linux Bootstrap currently fails on s390-linux during Ada RTS build: /usr/src/packages/BUILD/gcc-4.6.0-20101105/obj-s390-suse-linux/./gcc/xgcc -B/usr/src/packages/BUILD/gcc-4.6.0-20101105/obj-s390-suse-linux/./gcc/ -B/usr/s390-suse-linux/bin/ -B/usr/s390-suse-linux/lib/ -isystem /usr/s390-suse-linux/include -isystem /usr/s390-suse-linux/sys-include -c -g -O2 -fPIC -W -Wall -gnatpg a-strsup.adb -o a-strsup.o +===========================GNAT BUG DETECTED==============================+ | 4.6.0 20101105 [trunk revision 166358] (s390-ibm-linux-gnu) GCC error: | | in add_var_loc_to_decl, at dwarf2out.c:8221 | | Error detected around a-strsup.adb:1091:8 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). system.ads a-strsup.adb a-strsup.ads a-string.ads ada.ads a-strmap.ads a-charac.ads a-chlat1.ads a-strsea.ads s-exctab.ads s-stalib.ads a-unccon.ads s-unstyp.ads a-except.ads s-parame.ads s-traent.ads s-secsta.ads s-stoele.ads s-stoele.adb s-carun8.ads raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:423 make[7]: *** [a-strsup.o] Error 1