Re: [PATCH v6 6/9] bug.h: Prevent double evaulation of in BUILD_BUG_ON

Borislav Petkov
2012-11-22T19:07:32Z

On Tue, Nov 20, 2012 at 03:05:04PM -0600, danielfsantos@att.net wrote:
> When calling BUILD_BUG_ON in an optimized build using gcc 4.3 and later,
> the condition will be evaulated twice, possibily with side-effects.
> This patch eliminates that error.
>
> Signed-off-by: Daniel Santos <daniel.santos@pobox.com>

Acked-by: Borislav Petkov <bp@alien8.de>

--
Regards/Gruss,
Boris.