This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor: % as args to #defines
- From: Syd Polk <spolk at apple dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org (GCC List), Joern Rennecke <joern dot rennecke at superh dot com>, corsepiu at faw dot uni-ulm dot de (Ralf Corsepius)
- Date: Thu, 29 Jan 2004 10:55:53 -0800
- Subject: Re: preprocessor: % as args to #defines
- References: <200401291844.i0TIiDT05165@linsvr1.uk.superh.com> <87u12eh9kj.fsf@egil.codesourcery.com>
On Jan 29, 2004, at 10:51 AM, Zack Weinberg wrote:
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
It seems that most of Apple's customers do not agree at all; most major Macintosh software vendors have many many lines of inline assembly in their source files. It is one of the big preventers of GCC adoption in the Apple world.
Syd Polk
Apple Computer
Technology EPM, Mac OS X Development Tools
+1 408 974-0577