r224047, thanks! On to the third & hopefully final piece, which ought to implement the diagnostic that you originally asked for. :-) --paulr
> -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Aaron Ballman > Sent: Thursday, December 11, 2014 12:02 PM > To: Robinson, Paul > Cc: [email protected] > Subject: Re: [PATCH] Handle 'optnone' versus -Os/-Oz more smoothly > > LGTM! > > ~Aaron > > On Thu, Dec 11, 2014 at 2:30 PM, Robinson, Paul > <[email protected]> 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 > > [email protected] > > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
