public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
@ 2005-10-06 19:06 ` ro at gcc dot gnu dot org
  2005-10-12 11:55 ` rguenth at gcc dot gnu dot org
                   ` (33 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ro at gcc dot gnu dot org @ 2005-10-06 19:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from ro at gcc dot gnu dot org  2005-10-06 19:06 -------
Same problem on mips-sgi-irix5.3 as of 20051004:

stage1/xgcc -Bstage1/ -B/vol/gcc/share/mips-sgi-irix5.3/bin/ -c -g -O2     
-gnatpg -gnata -I- -I. -Iada -I/vol/gnu/src/gcc/gcc-dist/gcc/ada
/vol/gnu/src/gcc/gcc-dist/gcc/ada/a-elchha.adb -o ada/a-elchha.o
+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20051004 (experimental) (mips-sgi-irix5.3) GCC error:              |
| tree check: expected class qs, have qs (expression) in exceptional,      |
|    at constructor:269137156                                              |
| Error detected at a-elchha.adb:125:4                                     |


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
  2005-10-06 19:06 ` [Bug ada/22533] [4.1 regression] ICE in get_base_var ro at gcc dot gnu dot org
@ 2005-10-12 11:55 ` rguenth at gcc dot gnu dot org
  2005-10-12 12:43 ` schwab at suse dot de
                   ` (32 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-10-12 11:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from rguenth at gcc dot gnu dot org  2005-10-12 11:55 -------
../../xgcc -B../../ -c -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
-U_FORTIFY_SOURCE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -fno-common      -gnatpg -gnata -I- -I../rts -I.
-I/usr/src/packages/BUILD/gcc-4.1.0-20051012/gcc/ada
/usr/src/packages/BUILD/gcc-4.1.0-20051012/gcc/ada/make.adb -o make.o
+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20051012 (experimental) (SUSE Linux) (powerpc64-suse-linux-gnu) GCC
error:|
| Segmentation fault                                                       |
| Error detected at make.adb:7224:23                                       |

still does not work


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
  2005-10-06 19:06 ` [Bug ada/22533] [4.1 regression] ICE in get_base_var ro at gcc dot gnu dot org
  2005-10-12 11:55 ` rguenth at gcc dot gnu dot org
@ 2005-10-12 12:43 ` schwab at suse dot de
  2005-10-12 19:33 ` laurent at guerby dot net
                   ` (31 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: schwab at suse dot de @ 2005-10-12 12:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from schwab at suse dot de  2005-10-12 12:43 -------
(In reply to comment #15)
> /usr/src/packages/BUILD/gcc-4.1.0-20051012/gcc/ada/make.adb -o make.o
> +===========================GNAT BUG DETECTED==============================+
> | 4.1.0 20051012 (experimental) (SUSE Linux) (powerpc64-suse-linux-gnu) GCC
> error:|
> | Segmentation fault                                                       |
> | Error detected at make.adb:7224:23                                       |

This is probably a different bug.


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-12 12:43 ` schwab at suse dot de
@ 2005-10-12 19:33 ` laurent at guerby dot net
  2005-10-12 19:36 ` pinskia at gcc dot gnu dot org
                   ` (30 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: laurent at guerby dot net @ 2005-10-12 19:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from laurent at guerby dot net  2005-10-12 19:33 -------
Ada not release critical.


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.0                       |---


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-10-12 19:33 ` laurent at guerby dot net
@ 2005-10-12 19:36 ` pinskia at gcc dot gnu dot org
  2005-10-14 17:26 ` pinskia at gcc dot gnu dot org
                   ` (29 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-12 19:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from pinskia at gcc dot gnu dot org  2005-10-12 19:36 -------
There is a middle-end part to this in gimplifier.c as I showed in my patch.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-10-12 19:36 ` pinskia at gcc dot gnu dot org
@ 2005-10-14 17:26 ` pinskia at gcc dot gnu dot org
  2005-10-19  3:13 ` pinskia at gcc dot gnu dot org
                   ` (28 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-14 17:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from pinskia at gcc dot gnu dot org  2005-10-14 17:26 -------
*** Bug 24370 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anhvofrcaus at gmail dot com


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2005-10-14 17:26 ` pinskia at gcc dot gnu dot org
@ 2005-10-19  3:13 ` pinskia at gcc dot gnu dot org
  2005-10-19  3:14 ` pinskia at gcc dot gnu dot org
                   ` (27 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-19  3:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from pinskia at gcc dot gnu dot org  2005-10-19 03:13 -------
*** Bug 24415 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debian-gcc at lists dot
                   |                            |debian dot org
Bug 22533 depends on bug 24415, which changed state.

Bug 24415 Summary: [4.1 regression] [powerpc] ada bootstrap failure
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24415

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2005-10-19  3:13 ` pinskia at gcc dot gnu dot org
@ 2005-10-19  3:14 ` pinskia at gcc dot gnu dot org
  2005-10-31  4:10 ` mmitchel at gcc dot gnu dot org
                   ` (26 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-19  3:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from pinskia at gcc dot gnu dot org  2005-10-19 03:14 -------
(In reply to comment #16)
> This is probably a different bug.
It is not, as Richard was building with checking disabled as shown by 24415.


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2005-10-19  3:14 ` pinskia at gcc dot gnu dot org
@ 2005-10-31  4:10 ` mmitchel at gcc dot gnu dot org
  2005-11-04 19:29 ` laurent at guerby dot net
                   ` (25 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  4:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from mmitchel at gcc dot gnu dot org  2005-10-31 04:10 -------
Downgraded to P5.  If this is not Ada-specific, please attach a C/C++ test
case.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P5


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2005-10-31  4:10 ` mmitchel at gcc dot gnu dot org
@ 2005-11-04 19:29 ` laurent at guerby dot net
  2005-11-05  0:23 ` uweigand at gcc dot gnu dot org
                   ` (24 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: laurent at guerby dot net @ 2005-11-04 19:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from laurent at guerby dot net  2005-11-04 19:29 -------
Add mips and mips64, for reference, workaround patch from Andreas Schwab here:
http://gcc.gnu.org/ml/gcc/2005-11/msg00239.html

Index: ipa-utils.c
===================================================================
--- ipa-utils.c (revision 106486)
+++ ipa-utils.c (working copy)
@@ -217,6 +217,7 @@ get_base_var (tree t)

   while (!SSA_VAR_P (t) 
         && (!CONSTANT_CLASS_P (t))
+        && TREE_CODE (t) != CONSTRUCTOR
         && TREE_CODE (t) != LABEL_DECL
         && TREE_CODE (t) != FUNCTION_DECL
         && TREE_CODE (t) != CONST_DECL)


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|powerpc-*-*,s390-*-*        |powerpc-*-*,s390-*-*, mips-
                   |                            |*-*, mips64-*-*


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2005-11-04 19:29 ` laurent at guerby dot net
@ 2005-11-05  0:23 ` uweigand at gcc dot gnu dot org
  2005-11-12 16:52 ` laurent at guerby dot net
                   ` (23 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-05  0:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #24 from uweigand at gcc dot gnu dot org  2005-11-05 00:23 -------
Well, the workaround removes the ICE, but constructor handling
appears still broken:

ada/sem_prag.o(.text+0xa58): In function
`sem_prag.analyze_pragma.check_no_identifier':
../../gcc-head/gcc/ada/sem_prag.adb:1168: undefined reference to `C.1290.13979'
ada/sem_prag.o(.text+0x8758): In function `sem_prag.analyze_pragma':
../../gcc-head/gcc/ada/sem_prag.adb:382: undefined reference to `C.3692.17381'
collect2: ld returned 1 exit status
make[2]: *** [gnat1] Error 1

(at least on s390 and s390x).


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2005-11-05  0:23 ` uweigand at gcc dot gnu dot org
@ 2005-11-12 16:52 ` laurent at guerby dot net
  2005-11-15  6:31 ` [Bug ada/22533] [4.1 regression] Ada ICE during bootstrap on many platforms ebotcazou at gcc dot gnu dot org
                   ` (22 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: laurent at guerby dot net @ 2005-11-12 16:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from laurent at guerby dot net  2005-11-12 16:51 -------
*** Bug 24821 has been marked as a duplicate of this bug. ***


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2005-11-12 16:52 ` laurent at guerby dot net
@ 2005-11-15  6:31 ` ebotcazou at gcc dot gnu dot org
  2005-11-15  6:32 ` ebotcazou at gcc dot gnu dot org
                   ` (21 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-15  6:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from ebotcazou at gcc dot gnu dot org  2005-11-15 06:31 -------
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-07-23 15:24:35         |2005-11-15 06:31:15
               date|                            |


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2005-11-15  6:31 ` [Bug ada/22533] [4.1 regression] Ada ICE during bootstrap on many platforms ebotcazou at gcc dot gnu dot org
@ 2005-11-15  6:32 ` ebotcazou at gcc dot gnu dot org
  2005-11-15  7:47 ` ebotcazou at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-15  6:32 UTC (permalink / raw)
  To: gcc-bugs



-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2005-11-15  6:32 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-15  7:47 ` ebotcazou at gcc dot gnu dot org
  2005-11-15 18:31 ` uweigand at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-15  7:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #27 from ebotcazou at gcc dot gnu dot org  2005-11-15 07:47 -------
Mark,

> Downgraded to P5.  If this is not Ada-specific, please attach a C/C++ test
> case.

Well, this is definitely not Ada-specific, see comment #11.  According to your
analysis for PR c++/23171, the middle-end has started rejecting constructs it
used to accept, lightly breaking the C++ compiler and severely breaking the Ada
compiler in the process.  What should we do for 4.1?


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at gcc dot gnu dot|mark at codesourcery dot com
                   |org                         |


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2005-11-15  7:47 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-15 18:31 ` uweigand at gcc dot gnu dot org
  2005-11-16 17:27 ` ebotcazou at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-15 18:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #28 from uweigand at gcc dot gnu dot org  2005-11-15 18:31 -------
Just one additional comment: the patch from comment #10 was rejected,
maybe because it required changes to the core gimplifier.

However, I've tested just the Ada front-end pieces from that patch,
and this *already* fixed the problem for me.  The reason appears to
be that -in general- occurrences of ADDR_EXPR (CONSTRUCTOR) do not
constitute a problem.

The problem only comes when such constructs occur in turn as part of
another (outer) CONSTRUCTOR.  The middle-end never generates that case,
only the Ada front-end does -- thus it suffices to fix those cases in
the Ada front-end itself.

So I guess it would be possible right now to fix the bootstrap issue
by a pure front-end patch.  (This doesn't address the more general 
question of whether or not the gimplifier has a bug that can be exposed
by other front-ends too, of course ...)


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (15 preceding siblings ...)
  2005-11-15 18:31 ` uweigand at gcc dot gnu dot org
@ 2005-11-16 17:27 ` ebotcazou at gcc dot gnu dot org
  2005-11-17  1:09 ` uweigand at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-16 17:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #29 from ebotcazou at gcc dot gnu dot org  2005-11-16 17:27 -------
> So I guess it would be possible right now to fix the bootstrap issue
> by a pure front-end patch.  (This doesn't address the more general 
> question of whether or not the gimplifier has a bug that can be exposed
> by other front-ends too, of course ...)

OK, thanks for the analysis.

Richard, what do you think?  The pure front-end patch Ulrich is talking about
is the Ada FE part of http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01666.html


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kenner at vlsi1 dot ultra
                   |                            |dot nyu dot edu


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (16 preceding siblings ...)
  2005-11-16 17:27 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-17  1:09 ` uweigand at gcc dot gnu dot org
  2005-11-22  1:00 ` [Bug ada/22533] [4.1/4.2 " pluto at agmk dot net
                   ` (16 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-17  1:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #30 from uweigand at gcc dot gnu dot org  2005-11-17 01:08 -------
With that patch applied, Ada bootstraps on s390-ibm-linux and
s390x-ibm-linux.  Regression test results are at:

http://gcc.gnu.org/ml/gcc-testresults/2005-11/msg00831.html
http://gcc.gnu.org/ml/gcc-testresults/2005-11/msg00832.html

There's still quite a number of regressions, but the good news
is that all of them are already known from other platforms.

Sorted by PR number, the regressions are:

both s390 and s390x:
PR 18659:  c32001e c64105b c95086b
PR 22333:  c34007p c34007r c45282b
PR 20548:  c52103x c52104x c52104y
PR 22561:  ca11c01

s390x only:
PR 18819:  cdd2a01(*) cdd2a02

s390 only:
PR 20753:  ce3810b

(*) The PR mentions only cdd2a02.  But cdd2a01 fails with seemingly
the same symptom for me ...


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (17 preceding siblings ...)
  2005-11-17  1:09 ` uweigand at gcc dot gnu dot org
@ 2005-11-22  1:00 ` pluto at agmk dot net
  2005-11-23 11:11 ` ebotcazou at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pluto at agmk dot net @ 2005-11-22  1:00 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1685 bytes --]



------- Comment #31 from pluto at agmk dot net  2005-11-22 00:59 -------
w/o patch still ICEs:

# ppc:

stage1/xgcc -Bstage1/ -B/usr/ppc-pld-linux/bin/ -c -O2 -ggdb -gnatpg -gnata
-g -O1 -fno-inline \
 -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/a-except.adb -o ada/a-except.o
+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20051121 (prerelease) (powerpc-pld-linux-gnu) Segmentation fault   |
| Error detected at a-except.adb:1305:1                                    |

raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:380
make[2]: *** [ada/a-except.o] Error 1

# athlon + amd64:

stage1/xgcc -Bstage1/ -B/usr/x86_64-pld-linux/bin/ -c -march=x86-64 -O2 -ggdb  
   -gnatpg -gnata -g -O1 -fno-inline \
 -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/a-except.adb -o ada/a-except.o

raised STORAGE_ERROR : stack overflow (or erroneous memory access)
make[2]: *** [ada/a-except.o] Error 1


with patch from http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01666.html
after manual merge (due to 1 reject):

# ppc:

../../xgcc -B../../ -c -O2 -ggdb -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes       -gnatpg -gnata -I- -I../rts -I.
-I/home/users/builder2/rpm/BUILD/gcc/gcc/ada
/home/users/builder2/rpm/BUILD/gcc/gcc/ada/make.adb -o make.o
+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20051121 (prerelease) (powerpc-pld-linux-gnu) Segmentation fault   |
| Error detected at make.adb:7541:23                                       |

raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:380


finally, ada is actually dead.


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (18 preceding siblings ...)
  2005-11-22  1:00 ` [Bug ada/22533] [4.1/4.2 " pluto at agmk dot net
@ 2005-11-23 11:11 ` ebotcazou at gcc dot gnu dot org
  2005-11-23 19:16 ` pluto at agmk dot net
                   ` (14 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-23 11:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #32 from ebotcazou at gcc dot gnu dot org  2005-11-23 11:11 -------
> with patch from http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01666.html

Probably not the correct long-term fix.  Might be good enough for 4.1 though.

> finally, ada is actually dead.

Not very constructive, I'm afraid.  Care to devise a fix?


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (19 preceding siblings ...)
  2005-11-23 11:11 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-23 19:16 ` pluto at agmk dot net
  2005-11-23 19:36 ` ebotcazou at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pluto at agmk dot net @ 2005-11-23 19:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #33 from pluto at agmk dot net  2005-11-23 19:16 -------
(In reply to comment #32)
> > with patch from http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01666.html
> 
> Probably not the correct long-term fix.  Might be good enough for 4.1 though.

this fix doesn't help for current 4.1.
workaround from #c23 doesn;t help either.

> > finally, ada is actually dead.
> 
> Not very constructive, I'm afraid.  Care to devise a fix?

sorry, i don't known too much about compiler's infrastructure.
i'm just a software developer and packager.
i can test builds/fixes and provide backtraces on PPC970FX
but nothing more...

$ gdb stage1/gnat1

(gdb) set args -I- -I. -Iada -I../../gcc/ada -quiet -dumpbase a-except.adb -O2
-O1 -fsigned-char -fno-inline -ggdb -gnatpg -gnata -g -gnatO ada/a-except.o
../../gcc/ada/a-except.adb -o /tmp/ccaqK3JS.s
(gdb) r
Starting program:
/home/users/builder2/rpm/BUILD/gcc/obj-ppc-pld-linux/gcc/stage1/gnat1 -I- -I.
-Iada -I../../gcc/ada -quiet -dumpbase a-except.adb -O2 -O1
-fno-inline -ggdb -gnatpg -gnata -g -gnatO ada/a-except.o
../../gcc/ada/a-except.adb -o /tmp/ccaqK3JS.s
Breakpoint 3 at 0xfee33e8
Breakpoint 4 at 0xfee1d90

Program received signal SIGSEGV, Segmentation fault.
0x109c6418 in get_base_var (t=0x0) at ../../gcc/ipa-utils.c:218
218       while (!SSA_VAR_P (t)

(gdb) bt
#0  0x109c6418 in get_base_var (t=0x0) at ../../gcc/ipa-utils.c:218
#1  0x10840d1c in look_for_address_of (t=0x303cc720) at
../../gcc/ipa-reference.c:345
#2  0x10840da4 in check_rhs_var (local=0x0, t=0x303cc720) at
../../gcc/ipa-reference.c:360
#3  0x108413e4 in scan_for_static_refs (tp=0x303cb344,
walk_subtrees=0x7ffff084, data=0x0)
    at ../../gcc/ipa-reference.c:553
#4  0x1079e554 in walk_tree (tp=0x303cb344, func=0x1084117c
<scan_for_static_refs>, data=0x0,
    pset=0x11086c80) at ../../gcc/tree.c:7115
#5  0x1079ecd4 in walk_tree (tp=0x303ea6cc, func=0x1084117c
<scan_for_static_refs>, data=0x0,
    pset=0x11086c80) at ../../gcc/tree.c:7286
#6  0x10841b78 in analyze_variable (vnode=0x304653f0) at
../../gcc/ipa-reference.c:774
#7  0x108423a4 in static_execute () at ../../gcc/ipa-reference.c:901
#8  0x107c8ea0 in execute_one_pass (pass=0x10bc1470) at ../../gcc/passes.c:828
#9  0x107c9038 in execute_ipa_pass_list (pass=0x10bc1470) at
../../gcc/passes.c:874
#10 0x1083bb80 in ipa_passes () at ../../gcc/cgraphunit.c:1223
#11 0x1083bc6c in cgraph_optimize () at ../../gcc/cgraphunit.c:1257
#12 0x1001c77c in gnat_parse_file (set_yydebug=0) at ../../gcc/ada/misc.c:245
#13 0x10786bbc in compile_file () at ../../gcc/toplev.c:990
#14 0x10788ecc in do_compile () at ../../gcc/toplev.c:1948
#15 0x10788f60 in toplev_main (argc=21, argv=0x7ffff5f4) at
../../gcc/toplev.c:1980
#16 0x103f0300 in main (argc=21, argv=0x7ffff5f4) at ../../gcc/main.c:35


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (20 preceding siblings ...)
  2005-11-23 19:16 ` pluto at agmk dot net
@ 2005-11-23 19:36 ` ebotcazou at gcc dot gnu dot org
  2005-11-23 19:47 ` pluto at agmk dot net
                   ` (12 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-23 19:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #34 from ebotcazou at gcc dot gnu dot org  2005-11-23 19:36 -------
> this fix doesn't help for current 4.1.

It works (or worked) on s390 at least and fix the first problem on PPC though.

Did you try to compile make.adb at -O1 or -O0?


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (21 preceding siblings ...)
  2005-11-23 19:36 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-23 19:47 ` pluto at agmk dot net
  2005-11-23 23:28 ` ebotcazou at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pluto at agmk dot net @ 2005-11-23 19:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #35 from pluto at agmk dot net  2005-11-23 19:47 -------
(In reply to comment #34)

> Did you try to compile make.adb at -O1 or -O0?

i always do a full bootstrap with different flags for stage1 and 2+.

make bootstrap \
        BOOT_CFLAGS="%{rpmcflags}" \
        STAGE1_CFLAGS="%{rpmcflags} -O0" \

stage1 (with -O0) builds, stage2 fails.
(rpmcflags == -O2 + additional options).


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (22 preceding siblings ...)
  2005-11-23 19:47 ` pluto at agmk dot net
@ 2005-11-23 23:28 ` ebotcazou at gcc dot gnu dot org
  2005-11-23 23:29 ` ebotcazou at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-23 23:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #36 from ebotcazou at gcc dot gnu dot org  2005-11-23 23:28 -------
> i always do a full bootstrap with different flags for stage1 and 2+.

That doesn't cover the Ada tools.  They build for me at -O0 on PowerPC so with
Andrew's FE patch + a possible tweak in the Makefile, you should have an Ada
compiler.


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (23 preceding siblings ...)
  2005-11-23 23:28 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-23 23:29 ` ebotcazou at gcc dot gnu dot org
  2005-11-24 11:14 ` ebotcazou at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-23 23:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #37 from ebotcazou at gcc dot gnu dot org  2005-11-23 23:29 -------
Created an attachment (id=10331)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10331&action=view)
Andrew's FE patch.


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (24 preceding siblings ...)
  2005-11-23 23:29 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-24 11:14 ` ebotcazou at gcc dot gnu dot org
  2005-11-24 14:46 ` pluto at agmk dot net
                   ` (8 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-24 11:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #38 from ebotcazou at gcc dot gnu dot org  2005-11-24 11:14 -------
> That doesn't cover the Ada tools.  They build for me at -O0 on PowerPC so with
> Andrew's FE patch + a possible tweak in the Makefile, you should have an Ada
> compiler.

They even build for me at -O2 on PowerPC with Andrew's patch.


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (25 preceding siblings ...)
  2005-11-24 11:14 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-24 14:46 ` pluto at agmk dot net
  2005-11-24 20:21 ` pluto at agmk dot net
                   ` (7 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pluto at agmk dot net @ 2005-11-24 14:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #39 from pluto at agmk dot net  2005-11-24 14:46 -------
(In reply to comment #38)
> > That doesn't cover the Ada tools.  They build for me at -O0 on PowerPC so with
> > Andrew's FE patch + a possible tweak in the Makefile, you should have an Ada
> > compiler.
> 
> They even build for me at -O2 on PowerPC with Andrew's patch.
> 

with minor makefile tweak ada builds with -O2 on ppc.

--- gcc/gcc/ada/Makefile.in.orig        2005-11-23 16:48:27.000000000 +0000
+++ gcc/gcc/ada/Makefile.in     2005-11-24 10:14:25.987115520 +0000
@@ -1899,6 +1899,12 @@
        $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O2 $(ADA_INCLUDES) \
              $< $(OUTPUT_OPTION)

+# [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap
+
+make.o      : make.adb make.ads
+       $(CC) -c $(ALL_ADAFLAGS) $(FORCE_DEBUG_ADAFLAGS) -O1 $(ADA_INCLUDES) \
+             $< $(OUTPUT_OPTION)
+
 adadecode.o : adadecode.c adadecode.h
 aux-io.o  : aux-io.c
 argv.o    : argv.c


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (26 preceding siblings ...)
  2005-11-24 14:46 ` pluto at agmk dot net
@ 2005-11-24 20:21 ` pluto at agmk dot net
  2005-11-24 23:29 ` debian-gcc at lists dot debian dot org
                   ` (6 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pluto at agmk dot net @ 2005-11-24 20:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #40 from pluto at agmk dot net  2005-11-24 20:21 -------
it also builds on i486. unfortunately amd64 fails on a-except even with -O0.

(...)
stage1/xgcc -Bstage1/ -B/usr/x86_64-pld-linux/bin/ -c -march=x86-64 -O2 -ggdb  
   -gnatpg -gnata -g -O0 \
 -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/a-except.adb -o ada/a-except.o
+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20051123 (prerelease) (x86_64-pld-linux-gnu)
  Storage_Error stack overflow (or erroneous memory access)|
| Error detected at a-except.adb:42:17                                     |


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (27 preceding siblings ...)
  2005-11-24 20:21 ` pluto at agmk dot net
@ 2005-11-24 23:29 ` debian-gcc at lists dot debian dot org
  2005-11-25 16:04 ` pluto at agmk dot net
                   ` (5 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-11-24 23:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #41 from debian-gcc at lists dot debian dot org  2005-11-24 23:29 -------
builds on alpha-linux, powerpc-linux, mips-linux, s390-linux (Debian unstable)
with the patch from the attachment and the patch from #39. No test results yet.

  Matthias


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (28 preceding siblings ...)
  2005-11-24 23:29 ` debian-gcc at lists dot debian dot org
@ 2005-11-25 16:04 ` pluto at agmk dot net
  2005-11-26 11:57 ` pluto at agmk dot net
                   ` (4 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pluto at agmk dot net @ 2005-11-25 16:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #42 from pluto at agmk dot net  2005-11-25 16:04 -------
(In reply to comment #40)
> it also builds on i486. unfortunately amd64 fails on a-except even with -O0.
> 
> (...)
> stage1/xgcc -Bstage1/ -B/usr/x86_64-pld-linux/bin/ -c -march=x86-64 -O2 -ggdb  
>    -gnatpg -gnata -g -O0 \
>  -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/a-except.adb -o ada/a-except.o
> +===========================GNAT BUG DETECTED==============================+
> | 4.1.0 20051123 (prerelease) (x86_64-pld-linux-gnu)
>   Storage_Error stack overflow (or erroneous memory access)|
> | Error detected at a-except.adb:42:17                                     |
> 

it builds on ix86 with -march=i486, (i586 not tested) and i686
but fails in the same way on ix86/-march=athlon and amd64/-march=x86-64.
maybe this failure is related to some lowlevel amd-specific parts?


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (29 preceding siblings ...)
  2005-11-25 16:04 ` pluto at agmk dot net
@ 2005-11-26 11:57 ` pluto at agmk dot net
  2005-11-26 12:40 ` pluto at agmk dot net
                   ` (3 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pluto at agmk dot net @ 2005-11-26 11:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #43 from pluto at agmk dot net  2005-11-26 11:57 -------
i've done quick tests on ix86:

$ stage1/xgcc -Bstage1/ -c -gnatpg -gnata -g -I- -I. -Iada
-I../../gcc/ada ../../gcc/ada/a-except.adb -o ada/a-except.o -fno-inline -O1
-march=i{486,586,686,pentium,pentiumpro}

WORKS.

but -march={athlon,pentium2,pentium3,pentium4} FAILS.
the i386 variant with -mmx option FAILS either.

$ stage1/xgcc -Bstage1/ -c -gnatpg -gnata -g -I- -I. -Iada -I../../gcc/ada
../../gcc/ada/a-except.adb -o ada/a-except.o -fno-inline -O1 -march=athlon
raised STORAGE_ERROR : stack overflow (or erroneous memory access)

Program received signal SIGSEGV, Segmentation fault.
0x0839c8c5 in insert_insn_on_edge ()

(gdb) bt
#0  0x0839c8c5 in insert_insn_on_edge ()
#1  0x085c5e6b in fixup_abnormal_edges ()
#2  0x0859b30f in convert_regs ()
#3  0x0859b684 in reg_to_stack ()
#4  0x0859b6bb in rest_of_handle_stack_regs ()
#5  0x0860dc88 in execute_one_pass ()
#6  0x0860dd47 in execute_pass_list ()
#7  0x0860dd67 in execute_pass_list ()
#8  0x0860dd67 in execute_pass_list ()
#9  0x08328868 in tree_rest_of_compilation ()
#10 0x0805e8d5 in gnat_expand_body ()
#11 0x08656a58 in cgraph_expand_function ()
#12 0x08656bed in cgraph_expand_all_functions ()
#13 0x08657109 in cgraph_optimize ()
#14 0x0805dd9e in gnat_parse_file ()
#15 0x085e68a4 in compile_file ()
#16 0x085e7f0d in do_compile ()
#17 0x085e7f75 in toplev_main ()
#18 0x0832472c in main ()

on amd64:

Program received signal SIGSEGV, Segmentation fault.
0x00000000007143a8 in insert_insn_on_edge (pattern=0x2a96415410, e=0x0)
at ../../gcc/cfgrtl.c:1412
1412      gcc_assert (!((e->flags & EDGE_ABNORMAL) && EDGE_CRITICAL_P (e)));

(gdb) bt
#0  0x00000000007143a8 in insert_insn_on_edge (pattern=0x2a96415410, e=0x0)
    at ../../gcc/cfgrtl.c:1412

During symbol reading, Incomplete CFI data; unspecified registers
at 0x0000000000714398.
(...)

#1  0x00000000009acfed in fixup_abnormal_edges () at ../../gcc/reload1.c:8252

During symbol reading, Incomplete CFI data; unspecified registers at
0x00000000009acdb3.
(...)

#2  0x000000000097ef8d in convert_regs (file=0x0)
    at ../../gcc/reg-stack.c:3097
#3  0x000000000097f328 in reg_to_stack (file=0x0)
    at ../../gcc/reg-stack.c:3207
#4  0x000000000097f35f in rest_of_handle_stack_regs ()
    at ../../gcc/reg-stack.c:3230
#5  0x0000000000a001ae in execute_one_pass (pass=0xee2360)
    at ../../gcc/passes.c:828
#6  0x0000000000a0026d in execute_pass_list (pass=0xee2360)
    at ../../gcc/passes.c:860
#7  0x0000000000a0028b in execute_pass_list (pass=0xee2b20)
    at ../../gcc/passes.c:861
#8  0x0000000000a0028b in execute_pass_list (pass=0xee2ac0)
    at ../../gcc/passes.c:861
#9  0x0000000000691057 in tree_rest_of_compilation (fndecl=0x2a95e1e500)
    at ../../gcc/tree-optimize.c:419
#10 0x00000000004192de in gnat_expand_body (gnu_decl=0x2a95e1e500)
    at ../../gcc/ada/misc.c:649
#11 0x0000000000a5774f in cgraph_expand_function (node=0x2a95ea1630)
    at ../../gcc/cgraphunit.c:1055
#12 0x0000000000a57917 in cgraph_expand_all_functions ()
    at ../../gcc/cgraphunit.c:1121
#13 0x0000000000a57ea3 in cgraph_optimize () at ../../gcc/cgraphunit.c:1278
#14 0x0000000000418612 in gnat_parse_file (set_yydebug=0)
    at ../../gcc/ada/misc.c:245
#15 0x00000000009d2f2b in compile_file () at ../../gcc/toplev.c:990
#16 0x00000000009d4876 in do_compile () at ../../gcc/toplev.c:1948
#17 0x00000000009d48da in toplev_main (argc=19, argv=0x7fbffff508)
    at ../../gcc/toplev.c:1980
#18 0x000000000068cbff in main (argc=19, argv=0x7fbffff508)
    at ../../gcc/main.c:35

i'll check this witout Uros' switch-mmx-mode patchset.


-- 


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (30 preceding siblings ...)
  2005-11-26 11:57 ` pluto at agmk dot net
@ 2005-11-26 12:40 ` pluto at agmk dot net
  2005-12-06  7:29 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  34 siblings, 0 replies; 37+ messages in thread
From: pluto at agmk dot net @ 2005-11-26 12:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #44 from pluto at agmk dot net  2005-11-26 12:40 -------
(In reply to comment #43)

> i'll check this witout Uros' switch-mmx-mode patchset.

confirmed. Uros' patchset from PR19161 causes this ICE with -mmmx.
Uros, can you look at this?


-- 

pluto at agmk dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uros at kss-loka dot si


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (31 preceding siblings ...)
  2005-11-26 12:40 ` pluto at agmk dot net
@ 2005-12-06  7:29 ` ebotcazou at gcc dot gnu dot org
  2005-12-22 17:59 ` ebotcazou at gcc dot gnu dot org
  2006-01-03 12:38 ` ebotcazou at gcc dot gnu dot org
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-12-06  7:29 UTC (permalink / raw)
  To: gcc-bugs



-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
         AssignedTo|ebotcazou at gcc dot gnu dot|unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (32 preceding siblings ...)
  2005-12-06  7:29 ` ebotcazou at gcc dot gnu dot org
@ 2005-12-22 17:59 ` ebotcazou at gcc dot gnu dot org
  2006-01-03 12:38 ` ebotcazou at gcc dot gnu dot org
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-12-22 17:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #45 from ebotcazou at gcc dot gnu dot org  2005-12-22 17:58 -------
Created an attachment (id=10552)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10552&action=view)
Middle-end (IPA) patch.

Tested Darwin/4.1 branch.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10331|0                           |1
        is obsolete|                            |


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms
       [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
                   ` (33 preceding siblings ...)
  2005-12-22 17:59 ` ebotcazou at gcc dot gnu dot org
@ 2006-01-03 12:38 ` ebotcazou at gcc dot gnu dot org
  34 siblings, 0 replies; 37+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-01-03 12:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #46 from ebotcazou at gcc dot gnu dot org  2006-01-03 12:38 -------
Mark's change for PR 23171 has eliminated the ICE on PowerPC/Darwin.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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



^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
  2005-09-02 22:53 ` [Bug ada/22533] [4.1 regression] ICE in get_base_var pinskia at gcc dot gnu dot org
@ 2005-09-15 19:13 ` laurent at guerby dot net
  1 sibling, 0 replies; 37+ messages in thread
From: laurent at guerby dot net @ 2005-09-15 19:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2005-09-15 19:12 -------
Happens on s390 too.

stage1/xgcc -Bstage1/
-B/home/uweigand/fsf/gcc-head-install/s390-ibm-linux/bin/ -c -g -O2
-gnatpg -gnata -I- -I. -Iada -I../../gcc-head/gcc/ada
../../gcc-head/gcc/ada/a-elchha.adb -o ada/a-elchha.o

+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20050914 (experimental) (s390-ibm-linux-gnu) GCC error:
| tree check: expected class
| Error detected at a-elchha.adb:125:4


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uweigand at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* [Bug ada/22533] [4.1 regression] ICE in get_base_var
  2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
@ 2005-09-02 22:53 ` pinskia at gcc dot gnu dot org
  2005-09-15 19:13 ` laurent at guerby dot net
  1 sibling, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-02 22:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-02 22:53 -------
*** Bug 23703 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schwab at suse dot de


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2006-01-03 12:38 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22533-7667@http.gcc.gnu.org/bugzilla/>
2005-10-06 19:06 ` [Bug ada/22533] [4.1 regression] ICE in get_base_var ro at gcc dot gnu dot org
2005-10-12 11:55 ` rguenth at gcc dot gnu dot org
2005-10-12 12:43 ` schwab at suse dot de
2005-10-12 19:33 ` laurent at guerby dot net
2005-10-12 19:36 ` pinskia at gcc dot gnu dot org
2005-10-14 17:26 ` pinskia at gcc dot gnu dot org
2005-10-19  3:13 ` pinskia at gcc dot gnu dot org
2005-10-19  3:14 ` pinskia at gcc dot gnu dot org
2005-10-31  4:10 ` mmitchel at gcc dot gnu dot org
2005-11-04 19:29 ` laurent at guerby dot net
2005-11-05  0:23 ` uweigand at gcc dot gnu dot org
2005-11-12 16:52 ` laurent at guerby dot net
2005-11-15  6:31 ` [Bug ada/22533] [4.1 regression] Ada ICE during bootstrap on many platforms ebotcazou at gcc dot gnu dot org
2005-11-15  6:32 ` ebotcazou at gcc dot gnu dot org
2005-11-15  7:47 ` ebotcazou at gcc dot gnu dot org
2005-11-15 18:31 ` uweigand at gcc dot gnu dot org
2005-11-16 17:27 ` ebotcazou at gcc dot gnu dot org
2005-11-17  1:09 ` uweigand at gcc dot gnu dot org
2005-11-22  1:00 ` [Bug ada/22533] [4.1/4.2 " pluto at agmk dot net
2005-11-23 11:11 ` ebotcazou at gcc dot gnu dot org
2005-11-23 19:16 ` pluto at agmk dot net
2005-11-23 19:36 ` ebotcazou at gcc dot gnu dot org
2005-11-23 19:47 ` pluto at agmk dot net
2005-11-23 23:28 ` ebotcazou at gcc dot gnu dot org
2005-11-23 23:29 ` ebotcazou at gcc dot gnu dot org
2005-11-24 11:14 ` ebotcazou at gcc dot gnu dot org
2005-11-24 14:46 ` pluto at agmk dot net
2005-11-24 20:21 ` pluto at agmk dot net
2005-11-24 23:29 ` debian-gcc at lists dot debian dot org
2005-11-25 16:04 ` pluto at agmk dot net
2005-11-26 11:57 ` pluto at agmk dot net
2005-11-26 12:40 ` pluto at agmk dot net
2005-12-06  7:29 ` ebotcazou at gcc dot gnu dot org
2005-12-22 17:59 ` ebotcazou at gcc dot gnu dot org
2006-01-03 12:38 ` ebotcazou at gcc dot gnu dot org
2005-07-17 21:09 [Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access) pluto at agmk dot net
2005-09-02 22:53 ` [Bug ada/22533] [4.1 regression] ICE in get_base_var pinskia at gcc dot gnu dot org
2005-09-15 19:13 ` laurent at guerby dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).