[PATCH B1/2] Redefine assert to use its expression

Mike Frysinger vapier@gentoo.org
Mon Mar 2 07:44:00 GMT 2015


On 09 Jan 2015 10:16, Richard Henderson wrote:
> This also fixes the -Werrors from -DNDEBUG on x86_64, but in
> the opposite direction.  We make assert always use its expression.
> This requires removing some existing ifndefs that were working
> around this same problem of unused variables.

i like this variant as it encourages us to avoid ifdefs, and does so w/out 
impacting code generation in general
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150302/b50074ac/attachment.sig>


More information about the Libc-alpha mailing list