This is the mail archive of the gcc-patches@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: Broken tree with PATCH: back end initialization reorganization


Hans-Peter Nilsson wrote:
Date: Mon, 27 Aug 2007 09:39:22 -0400
From: Sandra Loosemore <sandra@codesourcery.com>

I've now committed the patch with the reorganization of the initialization code. I'll post the remaining two bits of patch for review as soon as I have a chance to produce the ChangeLogs for them.

It seems you didn't test for a machine with pre/post/inc/dec, as the build error for cris-elf shows:

gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H -I. -I. -I/tmp/hpautotest-gcc1/gcc/gcc -I/tmp/hpautotest-gcc1/gcc/gcc/. -I/tmp/hpautotest-gcc1/gcc/gcc/../include -I/tmp/hpautotest-gcc1/gcc/gcc/../libcpp/include -I/tmp/hpautotest-gcc1/cris-elf/gccobj/./gmp -I/tmp/hpautotest-gcc1/gcc/gmp -I/tmp/hpautotest-gcc1/cris-elf/gccobj/./mpfr -I/tmp/hpautotest-gcc1/gcc/mpfr  -I/tmp/hpautotest-gcc1/gcc/gcc/../libdecnumber -I/tmp/hpautotest-gcc1/gcc/gcc/../libdecnumber/dpd -I../libdecnumber    /tmp/hpautotest-gcc1/gcc/gcc/regclass.c -o regclass.o
/tmp/hpautotest-gcc1/gcc/gcc/regclass.c: In function 'init_reg_autoinc':
/tmp/hpautotest-gcc1/gcc/gcc/regclass.c:1224: error: 'forbidden_inc_dec_classes' undeclared (first use in this function)
/tmp/hpautotest-gcc1/gcc/gcc/regclass.c:1224: error: (Each undeclared identifier is reported only once
/tmp/hpautotest-gcc1/gcc/gcc/regclass.c:1224: error: for each function it appears in.)
make[2]: *** [regclass.o] Error 1

I could just fix that, but I think you should really test on
such a machine as well.

I did do a full bootstrap and test on i686-pc-linux-gnu as well as testing on the mips32r2-elfoabi configuration I've been using for the remaining parts of the patches.


I'm not familiar with the cris back end. What command were you using to configure your build? I'll see if I can reproduce and fix the error.

-Sandra


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