This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap of trunk fails with Ada on powerpc-unknown-linux-gnu.
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 25 Jan 2005 13:17:46 -0500
- Subject: Re: Bootstrap of trunk fails with Ada on powerpc-unknown-linux-gnu.
- References: <41F68BB9.9030703@moene.indiv.nluug.nl>
On Jan 25, 2005, at 1:11 PM, Toon Moene wrote:
As follows:
../../xgcc -c -I./ -I../rts -I.
-I/home/toon/compilers/snapshots/gcc/gcc/ada -B../../ -O2 -g -O2
-gnatpg -gnata -I-
/home/toon/compilers/snapshots/gcc/gcc/ada/makegpr.adb
+===========================GNAT BUG
DETECTED==============================+
| 4.0.0 20050124 (experimental) (powerpc-unknown-linux-gnu) GCC error:
|
| tree check: expected ssa_name, have var_decl in verify_ssa, at
|
| tree-ssa.c:680
|
| Error detected at makegpr.adb:4167:23
|
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.
|
during the build of the Ada run time library.
Should I file a Bugzilla report, or does someone recognize this
immediately ?
I think this is the same failure as the current bootstrap problem on
ppc-darwin.
For the bootstrap problem we have the following CONST_DECL:
static struct gnat__strings__string_access C.828 =
{.P_ARRAY=(character[(long int)
<PLACEHOLDER_EXPR struct
gnat__strings__string_access>.P_BOUNDS->LB0:(long int)
<PLACEHOLDER_EXPR struct gnat__strings__string_access>.P_BOUNDS->UB0]
*) "",
.P_BOUNDS=&{.LB0=1, .UB0=0}};
Notice how we take the address of a CONSTRUCTOR this is wrong and we
should never do that.
Which makes this a front-end bug.
-- Pinski