[PATCH] Handle 'optnone' versus -Os/-Oz more smoothly

Aaron Ballman aaron at aaronballman.com
Thu Dec 11 12:02:22 PST 2014


LGTM!

~Aaron

On Thu, Dec 11, 2014 at 2:30 PM, Robinson, Paul
<Paul_Robinson at playstation.sony.com> wrote:
> Instead of having -Os/-Oz add OptimizeForSize/MinSize first, and later
> having OptimizeNone remove them again, just don't add them in the
> first place if the function already has OptimizeNone.
>
> Note that MinSize can still appear due to attributes being on different
> declarations; a future patch will address that.
> --paulr
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list