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

Robinson, Paul Paul_Robinson at playstation.sony.com
Thu Dec 11 12:15:44 PST 2014


r224047, thanks!  On to the third & hopefully final piece, which
ought to implement the diagnostic that you originally asked for. :-)
--paulr

> -----Original Message-----
> From: aaron.ballman at gmail.com [mailto:aaron.ballman at gmail.com] On Behalf
> Of Aaron Ballman
> Sent: Thursday, December 11, 2014 12:02 PM
> To: Robinson, Paul
> Cc: cfe-commits at cs.uiuc.edu
> Subject: Re: [PATCH] Handle 'optnone' versus -Os/-Oz more smoothly
> 
> 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