This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/49539] [4.7 regression] ICE building gnattools
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Jun 2011 09:15:48 +0000
- Subject: [Bug ada/49539] [4.7 regression] ICE building gnattools
- Auto-submitted: auto-generated
- References: <bug-49539-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2011-06-27 09:14:49 UTC ---
(In reply to comment #1)
> > gcc-4.7-20110625 failed to bootstrap on armv5tel-linux-gnueabi due to an
> > internal error in the Ada frontend:
>
> No, most likely not. Please post the top of the error message instead.
Oops, sorry. GNAT threw a 130-or-so line error message, and I mistook large
parts of it for normal 'make' output. There's the actual error message:
../../xgcc -B../../ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -gnatpg -gnata -I- -I../rts -I.
-I/mnt/scratch/gcc-4.7-20110625/gcc/ada
/mnt/scratch/gcc-4.7-20110625/gcc/ada/make.adb -o make.o
/mnt/scratch/gcc-4.7-20110625/gcc/ada/make.adb: In function
'Make.Process_Multilib':
/mnt/scratch/gcc-4.7-20110625/gcc/ada/make.adb:7353:43: warning: 'S2160b' may
be used uninitialized in this function [-Wmaybe-uninitialized]
/mnt/scratch/gcc-4.7-20110625/gcc/ada/make.adb:7353:43: warning: 'Next_Arg' may
be used uninitialized in this function [-Wmaybe-uninitialized]
Unable to coalesce ssa_names 8 and 1133 which are marked as MUST COALESCE.
comp_last_8(ab) and comp_last_1133(ab)
+===========================GNAT BUG DETECTED==============================+
| 4.7.0 20110625 (experimental) (armv5tel-brewer-linux-gnueabi) GCC error: |
| SSA corruption |
| Error detected around /mnt/scratch/gcc-4.7-20110625/gcc/ada/make.adb:2841:7|
| 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).
../rts/system.ads
/mnt/scratch/gcc-4.7-20110625/gcc/ada/make.adb
/mnt/scratch/gcc-4.7-20110625/gcc/ada/make.ads
/mnt/scratch/gcc-4.7-20110625/gcc/ada/ali.ads
/mnt/scratch/gcc-4.7-20110625/gcc/ada/casing.ads
/mnt/scratch/gcc-4.7-20110625/gcc/ada/types.ads
...
(and on and on and on and on ...)
...
/mnt/scratch/gcc-4.7-20110625/gcc/ada/scng.ads
../rts/a-chahan.ads
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:423
make[3]: *** [make.o] Error 1
make[3]: Leaving directory `/mnt/scratch/objdir47/gcc/ada/tools'
make[2]: *** [gnattools-native] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir47/gnattools'
make[1]: *** [all-gnattools] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir47'
make: *** [bootstrap] Error 2
I'm currently trying to narrow down the origin of this failure.