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]

breakage with "[10/27] Using target structures for init_expmed"

On Wed, 7 Jul 2010, Richard Sandiford wrote:
> gcc/
> 	* (expmed.o, target-globals.o): Depend on expmed.h.
> 	* expmed.h: New file.

Missing the defaults for MAX_BITS_PER_WORD from expmed.c,
breaking non-bi-wordsize ports like cris-elf:

-Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -fno-common -Wno-error
-DHAVE_CONFIG_H -I. -I. -I/tmp/hpautotest-gcc1/gcc/gcc
-I../libdecnumber   -I/usr/include/libelf
/tmp/hpautotest-gcc1/gcc/gcc/expmed.c -o expmed.o
In file included from /tmp/hpautotest-gcc1/gcc/gcc/expmed.c:41:
/tmp/hpautotest-gcc1/gcc/gcc/expmed.h:96: error:
'MAX_BITS_PER_WORD' undeclared here (not in a function)

Yeah, it's a obvious enough fix, but testing apparently isn't
trivial, so I'll leave the honors to you.

brgds, H-P

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