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: Clean up MIPS ISA macros

Richard Sandiford wrote:
David Daney <> writes:

I think this breaks the bootstrap on mipsel-unknown-linux-gnu. In stage 2 we are building with -Werror and now have:

/home/build/gcc-build/./prev-gcc/xgcc -B/home/build/gcc-build/./prev-gcc/ -B/usr/local/mipsel-unknown-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../libdecnumber insn-emit.c -o insn-emit.o
cc1: warnings being treated as errors
../../gcc/gcc/config/mips/ In function 'gen_muldi3':
../../gcc/gcc/config/mips/ warning: implicit declaration of function 'gen_muldi3_mult3'
../../gcc/gcc/config/mips/ warning: passing argument 1 of 'emit_insn' makes pointer from integer without a cast

Sorry once again ;(.

Not to worry.

 I've committed the patch below after verifying
that we no longer get that warning and that libgcc still builds correctly.
I'll run full tests overnight to double-check it.

Perhaps cross builds should default to -Werror so that bootstrap breaking problems are caught.

David Daney

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