This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor: % as args to #defines
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Joern Rennecke <joern dot rennecke at superh dot com>
- Cc: corsepiu at faw dot uni-ulm dot de (Ralf Corsepius), gcc at gcc dot gnu dot org (GCC List)
- Date: Thu, 29 Jan 2004 10:51:56 -0800
- Subject: Re: preprocessor: % as args to #defines
- References: <200401291844.i0TIiDT05165@linsvr1.uk.superh.com>
Joern Rennecke <joern.rennecke@superh.com> writes:
>> Yeah, I know. I wish people would use GAS macros instead.
>
> Actually, use of gas macros can confuse the compiler, when it looses
> track of how long an asm insert is.
I take the attitude that anything longer than a single instruction
probably ought to be in a separate file of assembly.
zw