* [Bug ada/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
@ 2004-11-19 23:28 ` pinskia at gcc dot gnu dot org
2004-11-19 23:35 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-19 23:28 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Keywords| |build, ice-on-valid-code
Summary|Bus error compiling |[4.0 Regression] Bus error
|makegpr.adb on Mac OS X 10.3|compiling makegpr.adb on Mac
| |OS X 10.3
Target Milestone|--- |4.0.0
Version|0.0 |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
2004-11-19 23:28 ` [Bug ada/18572] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-11-19 23:35 ` pinskia at gcc dot gnu dot org
2004-11-20 3:12 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-19 23:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-19 23:35 -------
Hmm, I did get a different ICE before on this file when I was trying to confirm PR 18237 so it might be
the same bug, I will let my build go and see what happens.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |18237
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
2004-11-19 23:28 ` [Bug ada/18572] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-19 23:35 ` pinskia at gcc dot gnu dot org
@ 2004-11-20 3:12 ` pinskia at gcc dot gnu dot org
2004-11-21 23:07 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-20 3:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-20 03:12 -------
I cannot even get even passed stage1 anymore:
gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING
-DENABLE_ASSERT_CHECKING -gnatpg -gnata -I- -I. -Iada -I/Users/pinskia/src/local2/gcc/gcc/
ada /Users/pinskia/src/local2/gcc/gcc/ada/stylesw.adb -o ada/stylesw.o
/Users/pinskia/src/local2/gcc/gcc/ada/stylesw.adb:53:07: "Style_Check_Subprogram_Order" is
undefined (more references follow)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-11-20 3:12 ` pinskia at gcc dot gnu dot org
@ 2004-11-21 23:07 ` pinskia at gcc dot gnu dot org
2004-11-22 0:07 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-21 23:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-21 23:07 -------
Confirmed.
static struct gnat__strings__string_list_access C.572 = {.P_ARRAY=(struct
gnat__strings__string_access[(long int) <PLACEHOLDER_EXPR struct
gnat__strings__string_list_access>.P_BOUNDS->LB0 .. (long int) <PLACEHOLDER_EXPR struct
gnat__strings__string_list_access>.P_BOUNDS->UB0] *) C.2650_12486, .P_BOUNDS=&C.2650};
Note C.2650_12486, I think this is an SRA bug as we don't have it before SRA, but after wards we do. I
think it comes from not copying the tree before setting gimplifying the tree.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-11-21 23:07:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-11-21 23:07 ` pinskia at gcc dot gnu dot org
@ 2004-11-22 0:07 ` pinskia at gcc dot gnu dot org
2004-11-22 2:20 ` [Bug tree-optimization/18572] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-22 0:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-22 00:07 -------
Oh, I think I have a fix, testing it right now, basically we need to unshare the expression before
gimplifying the DECL's initialize.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|powerpc-apple-darwin7.6.0 |
GCC host triplet|powerpc-apple-darwin7.6.0 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-11-22 0:07 ` pinskia at gcc dot gnu dot org
@ 2004-11-22 2:20 ` pinskia at gcc dot gnu dot org
2004-11-22 13:51 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-22 2:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-22 02:20 -------
Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01724.html>.
I am now able to build the Ada compiler on ppc-darwin with the patch above and the patch for PR
18217.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |18217
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Component|ada |tree-optimization
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-11-22 2:20 ` [Bug tree-optimization/18572] " pinskia at gcc dot gnu dot org
@ 2004-11-22 13:51 ` pinskia at gcc dot gnu dot org
2004-11-22 14:18 ` ro at techfak dot uni-bielefeld dot de
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-22 13:51 UTC (permalink / raw)
To: gcc-bugs
--
Bug 18572 depends on bug 18217, which changed state.
Bug 18217 Summary: [4.0 Regression] Ada Bootstrap failures on powerpc-darwin with undefined symbol (__Unwind_fallback_frame_state_for)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18217
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-11-22 13:51 ` pinskia at gcc dot gnu dot org
@ 2004-11-22 14:18 ` ro at techfak dot uni-bielefeld dot de
2004-11-22 14:32 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2004-11-22 14:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2004-11-22 14:18 -------
Subject: Re: [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
pinskia at gcc dot gnu dot org writes:
> I cannot even get even passed stage1 anymore:
> gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING
> -DENABLE_ASSERT_CHECKING -gnatpg -gnata -I- -I. -Iada -I/Users/pinskia/src/local2/gcc/gcc/
> ada /Users/pinskia/src/local2/gcc/gcc/ada/stylesw.adb -o ada/stylesw.o
> /Users/pinskia/src/local2/gcc/gcc/ada/stylesw.adb:53:07: "Style_Check_Subprogram_Order" is
> undefined (more references follow)
I had forgotten about that change; this seems to be fixed on mainline by
now.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-11-22 14:18 ` ro at techfak dot uni-bielefeld dot de
@ 2004-11-22 14:32 ` pinskia at gcc dot gnu dot org
2004-11-22 20:02 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-22 14:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-22 14:31 -------
(In reply to comment #6)
> Subject: Re: [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
>
> pinskia at gcc dot gnu dot org writes:
>
> > I cannot even get even passed stage1 anymore:
>
> I had forgotten about that change; this seems to be fixed on mainline by
> now.
Yes that is fixed, with my two just applied patches and the one which was posted above,
I get the results at:
http://gcc.gnu.org/ml/gcc-testresults/2004-11/msg00937.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
` (8 preceding siblings ...)
2004-11-22 14:32 ` pinskia at gcc dot gnu dot org
@ 2004-11-22 20:02 ` cvs-commit at gcc dot gnu dot org
2004-11-22 20:04 ` pinskia at gcc dot gnu dot org
2004-11-26 23:13 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-22 20:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-22 20:02 -------
Subject: Bug 18572
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2004-11-22 20:02:17
Modified files:
gcc : ChangeLog tree-sra.c
Log message:
2004-11-22 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18572
* tree-sra.c (scalarize_init): Unshare the rhs before gimplifying
it.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6456&r2=2.6457
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-sra.c.diff?cvsroot=gcc&r1=2.44&r2=2.45
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
` (9 preceding siblings ...)
2004-11-22 20:02 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-22 20:04 ` pinskia at gcc dot gnu dot org
2004-11-26 23:13 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-22 20:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-22 20:03 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/18572] [4.0 Regression] Bus error compiling makegpr.adb on Mac OS X 10.3
2004-11-19 23:25 [Bug ada/18572] New: Bus error compiling makegpr.adb on Mac OS X 10.3 gcc-bugzilla at gcc dot gnu dot org
` (10 preceding siblings ...)
2004-11-22 20:04 ` pinskia at gcc dot gnu dot org
@ 2004-11-26 23:13 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-26 23:13 UTC (permalink / raw)
To: gcc-bugs
--
Bug 18572 depends on bug 18237, which changed state.
Bug 18237 Summary: [4.0 regression] ICE in gen_lowpart_general, at rtlhooks.c:58
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18237
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Status|ASSIGNED |NEW
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18572
^ permalink raw reply [flat|nested] 13+ messages in thread