* [Bug ada/49539] [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
@ 2011-06-27 8:39 ` rguenth at gcc dot gnu.org
2011-06-27 8:47 ` [Bug ada/49539] [4.7 regression] ICE building gnattools ebotcazou at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-27 8:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ada/49539] [4.7 regression] ICE building gnattools
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
2011-06-27 8:39 ` [Bug ada/49539] " rguenth at gcc dot gnu.org
@ 2011-06-27 8:47 ` ebotcazou at gcc dot gnu.org
2011-06-27 9:16 ` mikpe at it dot uu.se
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-27 8:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2011.06.27 08:47:06
CC| |ebotcazou at gcc dot
| |gnu.org
Summary|[4.7 regression] Ada |[4.7 regression] ICE
|TYPES.UNRECOVERABLE_ERROR |building gnattools
|in comperr.adb:423 on ARM |
Ever Confirmed|0 |1
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-27 08:47:06 UTC ---
> 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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ada/49539] [4.7 regression] ICE building gnattools
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
2011-06-27 8:39 ` [Bug ada/49539] " rguenth at gcc dot gnu.org
2011-06-27 8:47 ` [Bug ada/49539] [4.7 regression] ICE building gnattools ebotcazou at gcc dot gnu.org
@ 2011-06-27 9:16 ` mikpe at it dot uu.se
2011-06-27 11:23 ` ebotcazou at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: mikpe at it dot uu.se @ 2011-06-27 9:16 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ada/49539] [4.7 regression] ICE building gnattools
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
` (2 preceding siblings ...)
2011-06-27 9:16 ` mikpe at it dot uu.se
@ 2011-06-27 11:23 ` ebotcazou at gcc dot gnu.org
2011-06-27 17:13 ` mikpe at it dot uu.se
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-27 11:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-27 11:15:22 UTC ---
I can reproduce on x86-linux with a bit of tweaking. Reducing...
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ada/49539] [4.7 regression] ICE building gnattools
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
` (3 preceding siblings ...)
2011-06-27 11:23 ` ebotcazou at gcc dot gnu.org
@ 2011-06-27 17:13 ` mikpe at it dot uu.se
2011-06-27 23:25 ` ebotcazou at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: mikpe at it dot uu.se @ 2011-06-27 17:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> 2011-06-27 16:51:46 UTC ---
4.7-20110618 failed to bootstrap with the same error.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug ada/49539] [4.7 regression] ICE building gnattools
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
` (4 preceding siblings ...)
2011-06-27 17:13 ` mikpe at it dot uu.se
@ 2011-06-27 23:25 ` ebotcazou at gcc dot gnu.org
2011-06-28 20:47 ` [Bug tree-optimization/49539] " ebotcazou at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-27 23:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |ebotcazou at gcc dot
|gnu.org |gnu.org
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-27 23:24:20 UTC ---
Thanks. Investigating.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/49539] [4.7 regression] ICE building gnattools
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
` (5 preceding siblings ...)
2011-06-27 23:25 ` ebotcazou at gcc dot gnu.org
@ 2011-06-28 20:47 ` ebotcazou at gcc dot gnu.org
2011-06-29 16:03 ` ebotcazou at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-28 20:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|ada |tree-optimization
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-28 20:47:10 UTC ---
Recategorizing.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/49539] [4.7 regression] ICE building gnattools
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
` (6 preceding siblings ...)
2011-06-28 20:47 ` [Bug tree-optimization/49539] " ebotcazou at gcc dot gnu.org
@ 2011-06-29 16:03 ` ebotcazou at gcc dot gnu.org
2011-06-29 16:05 ` ebotcazou at gcc dot gnu.org
2011-06-29 16:07 ` ebotcazou at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-29 16:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-29 16:03:00 UTC ---
Author: ebotcazou
Date: Wed Jun 29 16:02:56 2011
New Revision: 175650
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175650
Log:
PR tree-optimization/49539
* tree-ssa-forwprop.c (can_propagate_from): Check for abnormal SSA
names by means of stmt_references_abnormal_ssa_name.
(associate_plusminus): Call can_propagate_from before propagating
from definition statements.
(ssa_forward_propagate_and_combine): Remove superfluous newline.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-forwprop.c
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/49539] [4.7 regression] ICE building gnattools
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
` (7 preceding siblings ...)
2011-06-29 16:03 ` ebotcazou at gcc dot gnu.org
@ 2011-06-29 16:05 ` ebotcazou at gcc dot gnu.org
2011-06-29 16:07 ` ebotcazou at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-29 16:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-29 16:04:51 UTC ---
Author: ebotcazou
Date: Wed Jun 29 16:04:47 2011
New Revision: 175651
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175651
Log:
PR tree-optimization/49539
* tree-ssa-forwprop.c (can_propagate_from): Check for abnormal SSA
names by means of stmt_references_abnormal_ssa_name.
(associate_plusminus): Call can_propagate_from before propagating
from definition statements.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/tree-ssa-forwprop.c
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/49539] [4.7 regression] ICE building gnattools
2011-06-27 7:21 [Bug ada/49539] New: [4.7 regression] Ada TYPES.UNRECOVERABLE_ERROR in comperr.adb:423 on ARM mikpe at it dot uu.se
` (8 preceding siblings ...)
2011-06-29 16:05 ` ebotcazou at gcc dot gnu.org
@ 2011-06-29 16:07 ` ebotcazou at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-29 16:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49539
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|4.7.0 |4.6.2
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-29 16:07:36 UTC ---
Thanks for reporting the problem.
^ permalink raw reply [flat|nested] 11+ messages in thread