This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PING][PATCH][REVISED] Fix PR middle-end/PR28690, modify swap_commutative_operands_p
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: iant at google dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Jul 2007 13:34:15 -0500
- Subject: Re: [PING][PATCH][REVISED] Fix PR middle-end/PR28690, modify swap_commutative_operands_p
- References: <200707231743.KAA19952@hpsje.cup.hp.com> <1185214873.9276.12.camel@otta>
On Mon, 2007-07-23 at 13:21 -0500, Peter Bergner wrote:
> On Mon, 2007-07-23 at 10:43 -0700, Steve Ellcey wrote:
> > Did this break bootstrap?
> >
> > /proj/opensrc/nightly/src/trunk/gcc/rtlanal.c:2936: error: conflicting types for 'swap_commutative_operands_p'
> > /proj/opensrc/nightly/src/trunk/gcc/rtl.h:1693: error: previous declaration of ' swap_commutative_operands_p' was here
> > make[3]: *** [rtlanal.o] Error 1
>
> I'll do a fresh checkout too, to make sure the correct bits really
> got checked in.
The upstream bits look good. My stage1 build of rtlanal.c also compiled
with no errors or warnings:
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-fno-common -DHAVE_CONFIG_H -I. -I.
-I/home/bergner/gcc/indexed_load_store/gcc-mainline-indexload-v8/gcc
-I/home/bergner/gcc/indexed_load_store/gcc-mainline-indexload-v8/gcc/.
-I/home/bergner/gcc/indexed_load_store/gcc-mainline-indexload-v8/gcc/../include -I/home/bergner/gcc/indexed_load_store/gcc-mainline-indexload-v8/gcc/../libcpp/include -I/usr/local/mpfr/include -I/home/bergner/gcc/indexed_load_store/gcc-mainline-indexload-v8/gcc/../libdecnumber -I/home/bergner/gcc/indexed_load_store/gcc-mainline-indexload-v8/gcc/../libdecnumber/dpd -I../libdecnumber /home/bergner/gcc/indexed_load_store/gcc-mainline-indexload-v8/gcc/rtlanal.c -o rtlanal.o
Peter