This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bootstrap of trunk fails with Ada on powerpc-unknown-linux-gnu.

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 |

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]