Re: [PATCH] abuse of macros in swab.h

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Wed Sep 20 2000 - 21:30:40 EST


Martin Dalecki <dalecki@evision-ventures.com> said:
> Andrea Arcangeli wrote:
> > On Wed, Sep 20, 2000 at 01:22:50AM +0200, Andi Kleen wrote:
> > > Better would be to use statement blocks like
> > > #define bla(x) ({ __u32 tmp__ = (x); ....; tmp__; })

> > Agreed.

> Not agreed. In this case older version of GCC will have
> almost exactly the same provlems as with functions.

Care should go to correctness and bug-avoidance, as consistent with best
possible performance using _current_ tools. Who is really still using
pre-egcs compilers?

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile                               +56 32 672616
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:24 EST