[cfe-commits] [PATCH] Preprocessor: fix __OPTIMIZE_SIZE__ and -Oz

Chandler Carruth chandlerc at google.com
Mon Aug 6 13:05:39 PDT 2012


LGTM, thanks!


On Mon, Aug 6, 2012 at 12:56 PM, nobled <nobled at dreamwidth.org> wrote:

> Add some tests for __OPTIMIZE_SIZE__ and  __NO_INLINE__,
> removing the superfluous copies in the target-specific
> tests, since it's target-independent.
>
> This uncovered a bug in the handling of -Oz: it would
> attempt to store the value 2 in the 1-bit bitfield OptimizeSize,
> leaving a value of 0 and never defining __OPTIMIZE_SIZE__.
>
> OK to commit?
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120806/f9ef368e/attachment.html>


More information about the cfe-commits mailing list