This is the mail archive of the gcc-bugs@gcc.gnu.org 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: tree-ssa branch broken


Diego Novillo wrote:
On Thu, 27 Jun 2002, Andreas Jaeger wrote:


Current CVS of teh tree-ssa branch does not bootstrap for me on
i686-linux-gnu, xgcc is miscompiled:
I get the same segv compiling crtstuff.c with the stage2 compiler just
built by stage1 and that is with and without rtl checking enabled.


I've reproduced something similar with 'rtl' in the
--enable-checking switch.  I do not get a segv, however.  I get
the following:

-----------------------------------------------------------------------------
./xgcc -B./ -B/home/dnovillo/tree-ssa-20020619-branch/native/i686-pc-linux-gnu/b
in/ -isystem /home/dnovillo/tree-ssa-20020619-branch/native/i686-pc-linux-gnu/in
clude -isystem /home/dnovillo/tree-ssa-20020619-branch/native/i686-pc-linux-gnu/
sys-include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissi
ng-prototypes -isystem ./include  -I. -I. -I/home/dnovillo/tree-ssa-20020619-bra
nch/src/gcc -I/home/dnovillo/tree-ssa-20020619-branch/src/gcc/. -I/home/dnovillo
/tree-ssa-20020619-branch/src/gcc/config -I/home/dnovillo/tree-ssa-20020619-bran
ch/src/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-e
xceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer \
   -c /home/dnovillo/tree-ssa-20020619-branch/src/gcc/crtstuff.c -DCRT_BEGIN -DC
RTSTUFFT_O \
  -o crtbeginT.o
/home/dnovillo/tree-ssa-20020619-branch/src/gcc/crtstuff.c: In function `__do_gl
obal_dtors_aux':
/home/dnovillo/tree-ssa-20020619-branch/src/gcc/crtstuff.c:282: internal compile
r error: RTL check: access of elt 6 of `reg' with last elt 1 in recog_memoized_1
, at recog.c:120
-----------------------------------------------------------------------------

Which is *really* odd.  All the simplification does is re-write
trees.  Why would it be triggering an RTL checking problem?
I don't see this failure with rtl checking.

Thanks for the heads up.


Diego.

Cheers
Graham





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