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]

simplify-rtx.c / SIGN_EXTEND bootstrap failure.


(Already sent to Zack.  I had forgotten to cc the list.)

Here's what my preprocessor writes about your new SIGN_EXTEND macro :

cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I/gcc -I/gcc/config -I/gcc/../include /gcc/simplify-rtx.c
Warning: /gcc/simplify-rtx.c: 367: SIGN_EXTEND: argument mismatch

In short, you have introduced a new macro (with parameters) that has the same
name as an enumeration value.  When the preprocessor sees the enumeration
value, it takes it as an instance of the macro and complains for the lack of
parameters.

Philippe

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