public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/17399] New: Ada does not bootstrap
@ 2004-09-10 15:33 phython at gcc dot gnu dot org
  2004-09-10 15:36 ` [Bug ada/17399] " pinskia at gcc dot gnu dot org
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-09-10 15:33 UTC (permalink / raw)
  To: gcc-bugs

Hi,
  GCC for the past two days has not been able to build ada.  Here is the build log:
/home/jim/cvs/gcc.head/gcc/gcc/ada/s-except.ads -o ada/s-except.o
stage1/xgcc -Bstage1/ -B/home/jim/var/ppc-linux/powerpc-unknown-linux-gnu/bin/
-c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/home/jim/cvs/gcc.head/gcc/gcc/ada
/home/jim/cvs/gcc.head/gcc/gcc/ada/ali.adb -o ada/ali.o
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040909 (experimental) (powerpc-unknown-linux-gnu) GCC error:     |
| in expand_expr_addr_expr, at expr.c:6118                                 |
| Error detected at ali.adb:2076:1                                         |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| 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.

/home/jim/cvs/gcc.head/gcc/gcc/ada/ali.adb
/home/jim/cvs/gcc.head/gcc/gcc/ada/ali.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/casing.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/types.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/gnatvsn.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/rident.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/table.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/butil.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/debug.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/fname.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/namet.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/alloc.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/opt.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/hostparm.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/osint.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/output.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/table.adb
/home/jim/cvs/gcc.head/gcc/gcc/ada/tree_io.ads


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:376
make[2]: *** [ada/ali.o] Error 1
make[2]: Leaving directory `/home/jim/cvs/gcc.head/ppc-linux-20040909/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/jim/cvs/gcc.head/ppc-linux-20040909/gcc'
make: *** [bootstrap] Error 2
gcc_build: error: Could not bootstrap the compiler

-- 
           Summary: Ada does not bootstrap
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: phython at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ppc-linux-gnu
  GCC host triplet: ppc-linux-gnu
GCC target triplet: ppc-linux-gnu


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


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

* [Bug ada/17399] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
@ 2004-09-10 15:36 ` pinskia at gcc dot gnu dot org
  2004-09-10 17:54 ` phython at gcc dot gnu dot org
                   ` (24 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-10 15:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-10 15:36 -------
Can you try again this time with a 4.0.0 one as there was a patch which was applied which might fix 
that bug.

-- 


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


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

* [Bug ada/17399] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
  2004-09-10 15:36 ` [Bug ada/17399] " pinskia at gcc dot gnu dot org
@ 2004-09-10 17:54 ` phython at gcc dot gnu dot org
  2004-09-11 17:53 ` [Bug middle-end/17399] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (23 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-09-10 17:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-09-10 17:54 -------
 Same problem, even with RTH's middle-end fix.

-- 


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


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

* [Bug middle-end/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
  2004-09-10 15:36 ` [Bug ada/17399] " pinskia at gcc dot gnu dot org
  2004-09-10 17:54 ` phython at gcc dot gnu dot org
@ 2004-09-11 17:53 ` pinskia at gcc dot gnu dot org
  2004-09-11 20:06 ` [Bug middle-end/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux pinskia at gcc dot gnu dot org
                   ` (22 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-11 17:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-11 17:53 -------
Can you try now, this might be fixed by:
	* expr.c (expand_expr_addr_expr_1) Rename from expand_expr_addr_expr.
	(expand_expr_addr_expr): New function.  Take ADDR_EXPR instead of the
	operand of the ADDR_EXPR.
	(expand_expr_real_1): Update to match.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ada                         |middle-end
           Keywords|                            |build, ice-on-valid-code
            Summary|Ada does not bootstrap      |[4.0 Regression] Ada does
                   |                            |not bootstrap
   Target Milestone|---                         |4.0.0


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


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

* [Bug middle-end/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-09-11 17:53 ` [Bug middle-end/17399] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-09-11 20:06 ` pinskia at gcc dot gnu dot org
  2004-09-13  0:22 ` phython at gcc dot gnu dot org
                   ` (21 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-11 20:06 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0 Regression] Ada does   |[4.0 Regression] Ada does
                   |not bootstrap               |not bootstrap on ppc-linux


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


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

* [Bug middle-end/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-09-11 20:06 ` [Bug middle-end/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux pinskia at gcc dot gnu dot org
@ 2004-09-13  0:22 ` phython at gcc dot gnu dot org
  2004-09-13  2:00 ` phython at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-09-13  0:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-09-13 00:22 -------
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20040912 (experimental) (powerpc-unknown-linux-gnu) GCC error:     |
| in expand_expr_addr_expr_1, at expr.c:6118                               |
| Error detected at ali.adb:2076:1

 It's still not working. 

 I've got a watchpoint now on the problem tree.  I'll see if I can get something
useful from that.

-- 


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


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

* [Bug middle-end/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-09-13  0:22 ` phython at gcc dot gnu dot org
@ 2004-09-13  2:00 ` phython at gcc dot gnu dot org
  2004-09-13  2:26 ` phython at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-09-13  2:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-09-13 02:00 -------
-fno-tree-sra allows ada/ali.adb to compile at -O2.

-- 


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


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

* [Bug middle-end/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-09-13  2:00 ` phython at gcc dot gnu dot org
@ 2004-09-13  2:26 ` phython at gcc dot gnu dot org
  2004-09-13  2:43 ` giovannibajo at libero dot it
                   ` (18 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-09-13  2:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-09-13 02:26 -------
Created an attachment (id=7116)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7116&action=view)
difference between ch dump and sra dump for ada/ali.adb


-- 


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


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

* [Bug middle-end/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-09-13  2:26 ` phython at gcc dot gnu dot org
@ 2004-09-13  2:43 ` giovannibajo at libero dot it
  2004-09-13  3:08 ` [Bug ada/17399] " rth at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-13  2:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-09-13 02:43 -------
RTH, looks like a SRA bug, or at least exposed by the SRA pass. Can you have a 
look?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at redhat dot com


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-09-13  2:43 ` giovannibajo at libero dot it
@ 2004-09-13  3:08 ` rth at gcc dot gnu dot org
  2004-09-13 12:32 ` charlet at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-09-13  3:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-09-13 03:08 -------
Well, the first thing I see is

-  static struct ali__version_ref__tab__TtableBXn___XUP C.808 = {
-  [...] .P_BOUNDS=&{.LB0=0, .UB0=98}};

Which is an Ada front-end bug.  Taking the address of a CONSTRUCTOR
is illegal.  A CONSTRUCTOR is not an lvalue.

Kenner knows about this bug.  He brought up this exact problem with
elaboration functions to me previously and I gave him the same answer
then.  He may well have a fix; who can tell.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|rth at redhat dot com       |rth at gcc dot gnu dot org
          Component|middle-end                  |ada


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-09-13  3:08 ` [Bug ada/17399] " rth at gcc dot gnu dot org
@ 2004-09-13 12:32 ` charlet at gcc dot gnu dot org
  2004-09-13 22:44 ` phython at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-09-13 12:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2004-09-13 12:32 -------
Could you try again with an updated CVS tree ?
Today's changes in gigi may have fixed this.

Arno

-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2004-09-13 12:32 ` charlet at gcc dot gnu dot org
@ 2004-09-13 22:44 ` phython at gcc dot gnu dot org
  2004-09-14  1:48 ` phython at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-09-13 22:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-09-13 22:44 -------
 Bootstrap now gets passed ali.adb.

-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2004-09-13 22:44 ` phython at gcc dot gnu dot org
@ 2004-09-14  1:48 ` phython at gcc dot gnu dot org
  2004-09-14  8:02 ` charlet at act-europe dot fr
                   ` (13 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-09-14  1:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-09-14 01:48 -------
 However, compilation fails at osint.adb

stage1/xgcc -Bstage1/ -B/home/jim/var/ppc-linux/powerpc-unknown-linux-gnu/bin/
-c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/home/jim/cvs/gcc.head/gcc/gcc/ada
/home/jim/cvs/gcc.head/gcc/gcc/ada/osint.adb -o ada/osint.o
/home/jim/cvs/gcc.head/gcc/gcc/ada/osint.adb: In function
`Osint.Relocate_Path':/home/jim/cvs/gcc.head/gcc/gcc/ada/osint.adb:2233: error:
Definition in block 10 does not dominate use in block 31
for SSA_NAME: D.5890_102
in statement:
ivtmp.1509D.9922_252 = &(*s$P_ARRAYD.9891_129)[D.9924_255]{lb: D.5890_102 sz: 1};

+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20040913 (experimental) (powerpc-unknown-linux-gnu) GCC error:     |
| verify_ssa failed.                                                       |
| Error detected at osint.adb:2823:12                                      |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| 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.

/home/jim/cvs/gcc.head/gcc/gcc/ada/osint.adb
/home/jim/cvs/gcc.head/gcc/gcc/ada/osint.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/types.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/fmap.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/gnatvsn.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/hostparm.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/namet.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/alloc.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/table.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/opt.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/output.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/sdefault.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/table.adb
/home/jim/cvs/gcc.head/gcc/gcc/ada/debug.ads
/home/jim/cvs/gcc.head/gcc/gcc/ada/tree_io.ads


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:376
make[2]: *** [ada/osint.o] Error 1
make[2]: Leaving directory `/home/jim/cvs/gcc.head/ppc-linux-20040913/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/jim/cvs/gcc.head/ppc-linux-20040913/gcc'
make: *** [bootstrap] Error 2
gcc_build: error: Could not bootstrap the compiler


-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2004-09-14  1:48 ` phython at gcc dot gnu dot org
@ 2004-09-14  8:02 ` charlet at act-europe dot fr
  2004-09-14  8:23 ` giovannibajo at libero dot it
                   ` (12 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: charlet at act-europe dot fr @ 2004-09-14  8:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at act-europe dot fr  2004-09-14 08:01 -------
Subject: Re:  [4.0 Regression] Ada does not bootstrap on ppc-linux

Thanks for the update.

Could a ssa expert comment on whether this looks like a middle-end or
front-end issue ?

It's likely not powerpc-linux specific btw.

Arno


-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2004-09-14  8:02 ` charlet at act-europe dot fr
@ 2004-09-14  8:23 ` giovannibajo at libero dot it
  2004-09-14  8:25 ` giovannibajo at libero dot it
                   ` (11 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-14  8:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-09-14 08:23 -------
Confirmed, this is where Ada is stalled now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |4.0.0
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-14 08:23:52
               date|                            |


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2004-09-14  8:23 ` giovannibajo at libero dot it
@ 2004-09-14  8:25 ` giovannibajo at libero dot it
  2004-09-14 16:14 ` [Bug ada/17399] [4.0 Regression] Ada does not bootstrap pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-14  8:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-09-14 08:25 -------
*** Bug 17475 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aaronavay62 at aaronwl dot
                   |                            |com


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2004-09-14  8:25 ` giovannibajo at libero dot it
@ 2004-09-14 16:14 ` pinskia at gcc dot gnu dot org
  2004-09-16  5:45 ` aaronavay62 at aaronwl dot com
                   ` (9 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-14 16:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-14 16:14 -------
*** Bug 17418 has been marked as a duplicate of this bug. ***

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


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2004-09-14 16:14 ` [Bug ada/17399] [4.0 Regression] Ada does not bootstrap pinskia at gcc dot gnu dot org
@ 2004-09-16  5:45 ` aaronavay62 at aaronwl dot com
  2004-09-16 17:15 ` awreynolds at mac dot com
                   ` (8 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-09-16  5:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aaronavay62 at aaronwl dot com  2004-09-16 05:45 -------
For me, compile fails at g-os_lib.adb before it gets to osint.adb.  If I remove
-O2, I can get to osint.adb and see the same failure phython@gcc.gnu.org is
getting.  Is anyone else seeing this g-os_lib.adb failure?

stage1/xgcc.exe -Bstage1/
-B/aaronwl/cs/env/mingw-head-head-head-20040915/i686-pc-mingw32/bin/ -c -g -O2 
    -gnatpg -gnata -I- -I. -Iada -I../../../src/cvs/head/gcc/gcc/ada
../../../src/cvs/head/gcc/gcc/ada/g-os_lib.adb -o ada/g-os_lib.o
../../../src/cvs/head/gcc/gcc/ada/g-os_lib.adb: In function
'GNAT.OS_LIB.NORMALIZE_ARGUMENTS.QUOTE_ARGUMENT':
../../../src/cvs/head/gcc/gcc/ada/g-os_lib.adb:1354: error: Definition in block
3 does not dominate use in block 23
for SSA_NAME: D.3211_108
in statement:
ivtmp.822D.6605_76 = &(*D.3222_54)[kD.3157_48]{lb: D.3211_108 sz: 1};
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20040915 (experimental) (i686-pc-mingw32) verify_ssa failed.       |
| Error detected at g-os_lib.adb:2279:1                                    |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| 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.




raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:376
make[2]: *** [ada/g-os_lib.o] Error 1


-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  2004-09-16  5:45 ` aaronavay62 at aaronwl dot com
@ 2004-09-16 17:15 ` awreynolds at mac dot com
  2004-09-19  6:17 ` aaronavay62 at aaronwl dot com
                   ` (7 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: awreynolds at mac dot com @ 2004-09-16 17:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From awreynolds at mac dot com  2004-09-16 17:15 -------
Subject: Re:  [4.0 Regression] Ada does not bootstrap

I am seeing the error on Solaris 9 with HEAD as of yesterday.

aaronavay62 at aaronwl dot com wrote:

>------- Additional Comments From aaronavay62 at aaronwl dot com  2004-09-16 05:45 -------
>For me, compile fails at g-os_lib.adb before it gets to osint.adb.  If I remove
>-O2, I can get to osint.adb and see the same failure phython@gcc.gnu.org is
>getting.  Is anyone else seeing this g-os_lib.adb failure?
>
>stage1/xgcc.exe -Bstage1/
>-B/aaronwl/cs/env/mingw-head-head-head-20040915/i686-pc-mingw32/bin/ -c -g -O2 
>    -gnatpg -gnata -I- -I. -Iada -I../../../src/cvs/head/gcc/gcc/ada
>../../../src/cvs/head/gcc/gcc/ada/g-os_lib.adb -o ada/g-os_lib.o
>../../../src/cvs/head/gcc/gcc/ada/g-os_lib.adb: In function
>'GNAT.OS_LIB.NORMALIZE_ARGUMENTS.QUOTE_ARGUMENT':
>../../../src/cvs/head/gcc/gcc/ada/g-os_lib.adb:1354: error: Definition in block
>3 does not dominate use in block 23
>for SSA_NAME: D.3211_108
>in statement:
>ivtmp.822D.6605_76 = &(*D.3222_54)[kD.3157_48]{lb: D.3211_108 sz: 1};
>+===========================GNAT BUG DETECTED==============================+
>| 4.0.0 20040915 (experimental) (i686-pc-mingw32) verify_ssa failed.       |
>| Error detected at g-os_lib.adb:2279:1                                    |
>| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
>| 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.
>
>
>
>
>raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:376
>make[2]: *** [ada/g-os_lib.o] Error 1
>
>
>  
>



-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  2004-09-16 17:15 ` awreynolds at mac dot com
@ 2004-09-19  6:17 ` aaronavay62 at aaronwl dot com
  2004-09-20 22:52 ` danglin at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-09-19  6:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aaronavay62 at aaronwl dot com  2004-09-19 06:17 -------
Starting at least about six hours ago, I am now able to bootstrap Ada normally.
 I no longer get this ICE.


-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  2004-09-19  6:17 ` aaronavay62 at aaronwl dot com
@ 2004-09-20 22:52 ` danglin at gcc dot gnu dot org
  2004-09-21 18:49 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-09-20 22:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2004-09-20 22:52 -------
../../xgcc -B../../ -c -g -O2 -fPIC      -W -Wall -gnatpg  g-regexp.adb -o 
g-reg 
exp.o 
g-regexp.adb: In function 'GNAT.REGEXP.COMPILE.CREATE_SECONDARY_TABLE': 
g-regexp.adb:1087: error: Definition in block 5 does not dominate use in block 
1 
10 
for SSA_NAME: D.1827_717 
in statement: 
ivtmp.868D.4706_563 = &(*table.51D.1823_144)[J99b.52D.1828_3]{lb: 1 sz: 
D.1827_7 
17 * 4}[0]; 
 
+===========================GNAT BUG DETECTED==============================+ 
| 4.0.0 20040920 (experimental) (i686-pc-linux-gnu) verify_ssa failed.     | 
| Error detected at g-regexp.adb:1389:1                                    | 
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            | 
| 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).                   | 
+==========================================================================+ 
 
The problem still seems to be there. 

-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (19 preceding siblings ...)
  2004-09-20 22:52 ` danglin at gcc dot gnu dot org
@ 2004-09-21 18:49 ` pinskia at gcc dot gnu dot org
  2004-09-21 19:05 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-21 18:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-21 18:49 -------
*** Bug 17591 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laurent at guerby dot net


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (20 preceding siblings ...)
  2004-09-21 18:49 ` pinskia at gcc dot gnu dot org
@ 2004-09-21 19:05 ` pinskia at gcc dot gnu dot org
  2004-09-23  4:52 ` aaronavay62 at aaronwl dot com
                   ` (3 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-21 19:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-21 19:05 -------
PR 17563 has a C example of where the problem is now with -fivopts.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |17563
              nThis|                            |


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (21 preceding siblings ...)
  2004-09-21 19:05 ` pinskia at gcc dot gnu dot org
@ 2004-09-23  4:52 ` aaronavay62 at aaronwl dot com
  2004-09-23 17:00 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (2 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-09-23  4:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aaronavay62 at aaronwl dot com  2004-09-23 04:52 -------
I'd like to confirm that, since at least 2004-09-19, on i686-pc-mingw32, the Ada
front end bootstraps successfully.  I don't get the error that John David Anglin
gets.

However, the build of gnatlib and tools fails here:

../../xgcc -B../../ -c -O2 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -fno-common      -gnatpg -gnata -I- -I../rts -I.
-I/aaronwl/cs/compilers/gcc/src/cvs/head/gcc/gcc/ada
/aaronwl/cs/compilers/gcc/src/cvs/head/gcc/gcc/ada/make.adb -o make.o

raised STORAGE_ERROR : EXCEPTION_STACK_OVERFLOW
make[4]: *** [make.o] Error 1


Should I file a separate PR for this?


-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (22 preceding siblings ...)
  2004-09-23  4:52 ` aaronavay62 at aaronwl dot com
@ 2004-09-23 17:00 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-10-02  0:54 ` pinskia at gcc dot gnu dot org
  2004-10-03 17:53 ` pinskia at gcc dot gnu dot org
  25 siblings, 0 replies; 27+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-09-23 17:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-09-23 17:00 -------
Subject: Re:  [4.0 Regression] Ada does not bootstrap

Tried again today.  Both hppa-unknown-linux-gnu and i686-pc-linux-gnu
ICE here:

stage1/xgcc -Bstage1/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/hppa-linux/bin/ -c -g -
O2      -gnatpg -gnata -I- -I. -Iada -I../../gcc/gcc/ada ../../gcc/gcc/ada/cstan
d.adb -o ada/cstand.o
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20040923 (experimental) (hppa-unknown-linux-gnu) GCC error:        |
| in output_die, at dwarf2out.c:6921                                       |
| Error detected at cstand.adb:1827:1                                      |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| 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).                   |
+==========================================================================+

Dave


-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (23 preceding siblings ...)
  2004-09-23 17:00 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-10-02  0:54 ` pinskia at gcc dot gnu dot org
  2004-10-03 17:53 ` pinskia at gcc dot gnu dot org
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-02  0:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-02 00:54 -------
I think the problems is listed here are fixed, is that true and if there is a different bug, please file a new 
one.

-- 


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


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

* [Bug ada/17399] [4.0 Regression] Ada does not bootstrap
  2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
                   ` (24 preceding siblings ...)
  2004-10-02  0:54 ` pinskia at gcc dot gnu dot org
@ 2004-10-03 17:53 ` pinskia at gcc dot gnu dot org
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-03 17:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-03 17:53 -------
The orginal problem is fixed here.

The remaining problems are filed under PR 17746, PR 17791, PR 17793, PR 17794 and PR 17787.

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


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


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

end of thread, other threads:[~2004-10-03 17:53 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-10 15:33 [Bug ada/17399] New: Ada does not bootstrap phython at gcc dot gnu dot org
2004-09-10 15:36 ` [Bug ada/17399] " pinskia at gcc dot gnu dot org
2004-09-10 17:54 ` phython at gcc dot gnu dot org
2004-09-11 17:53 ` [Bug middle-end/17399] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-09-11 20:06 ` [Bug middle-end/17399] [4.0 Regression] Ada does not bootstrap on ppc-linux pinskia at gcc dot gnu dot org
2004-09-13  0:22 ` phython at gcc dot gnu dot org
2004-09-13  2:00 ` phython at gcc dot gnu dot org
2004-09-13  2:26 ` phython at gcc dot gnu dot org
2004-09-13  2:43 ` giovannibajo at libero dot it
2004-09-13  3:08 ` [Bug ada/17399] " rth at gcc dot gnu dot org
2004-09-13 12:32 ` charlet at gcc dot gnu dot org
2004-09-13 22:44 ` phython at gcc dot gnu dot org
2004-09-14  1:48 ` phython at gcc dot gnu dot org
2004-09-14  8:02 ` charlet at act-europe dot fr
2004-09-14  8:23 ` giovannibajo at libero dot it
2004-09-14  8:25 ` giovannibajo at libero dot it
2004-09-14 16:14 ` [Bug ada/17399] [4.0 Regression] Ada does not bootstrap pinskia at gcc dot gnu dot org
2004-09-16  5:45 ` aaronavay62 at aaronwl dot com
2004-09-16 17:15 ` awreynolds at mac dot com
2004-09-19  6:17 ` aaronavay62 at aaronwl dot com
2004-09-20 22:52 ` danglin at gcc dot gnu dot org
2004-09-21 18:49 ` pinskia at gcc dot gnu dot org
2004-09-21 19:05 ` pinskia at gcc dot gnu dot org
2004-09-23  4:52 ` aaronavay62 at aaronwl dot com
2004-09-23 17:00 ` dave at hiauly1 dot hia dot nrc dot ca
2004-10-02  0:54 ` pinskia at gcc dot gnu dot org
2004-10-03 17:53 ` pinskia at gcc dot gnu dot org

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).