GCC build failed for native with your patch on 2003-10-11T03:17:08Z.

Zack Weinberg zack@codesourcery.com
Sat Oct 11 04:17:00 GMT 2003


Andrew Pinski <pinskia@physics.uc.edu> writes:

> ess/tbox/cvs-gcc/gcc/gcc -I/Users/regress/tbox/cvs-gcc
> /gcc/gcc/. -I/Users/regress/tbox/cvs-gcc/gcc/gcc/../include -I../intl insn-modes.c -o insn-modes.o
> insn-modes.c:404:1: "MASK" redefined
> In file included from /usr/include/machine/param.h:30,
>                  from /usr/include/sys/param.h:102,
>                  from /Users/regress/tbox/cvs-gcc/gcc/gcc/system.h:161,
>                  from insn-modes.c:7:
> /usr/include/ppc/param.h:120:1: this is the location of the previous definition
> Looks like the problem is that darwin defines a variable called MASK.
>
> Here is a workaround and one that describes the macro better:
> Ok?
>
> Thanks,
> Andrew Pinski
>
> ChangeLog:
> * genmodes.c (emit_mode_mask) Change MASK to MODE_MASK.

Ok.  Sorry for the inconvenience.  (Why are we including sys/param.h?
It's notorious for clobbering the user name space.)

zw



More information about the Gcc-regression mailing list