This is the mail archive of the gcc@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: preprocessor: % as args to #defines


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

 Andrew> On Jan 29, 2004, at 10:55, Syd Polk wrote:
 >> 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.

 Andrew> I wished GCC never supplied an inline-asm because it causes
 Andrew> so much problems in that it can cause seg faults when you are
 Andrew> using %c0 or some other operand character which does not work
 Andrew> for your case, there are three different bugs for this on
 Andrew> three different targets.  The idea of using a compiler is to
 Andrew> have the compiler optimize for you, if the compiler does not,
 Andrew> then either drop the compiler, improve it, or write full asm.

In embedded systems development, that doesn't fly at all.  Embedded
assembly is critical, and the extended asm features of gcc are a very
important and very helpful facility.

	  paul


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