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]
Other format: [Raw text]

Re: Unreviewed patches for 3.2


On Wed, Jul 03, 2002 at 10:47:47PM +0200, Rainer Orth wrote:
> * 3.2 PATCH: Make ASM_DEBUG_SPEC a compile-time constant
> 
> 	http://gcc.gnu.org/ml/gcc-patches/2002-06/msg02041.html

This is incorrect.  You're trying to compare enumeration values in
the preprocessor.  This "works" in that undefined symbols both expand
to zero in cpp arithmetic, which gave you 0 == 0, which happened to
be the result you were looking for.


r~


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