[PATCH] PR21604: Correctly remove OptimizeForSize from OptimizeNone functions
Paul_Robinson at playstation.sony.com
Wed Nov 19 17:21:40 PST 2014
While it might have looked like OptimizeNone removed the OptimizeForSize
attribute from a function, it weren't necessarily so. This patch fixes
the attribute handling so 'optnone' correctly supersedes all the other
things it's supposed to supersede.
Updated a test to do a -Os run so we verify that part works right.
Added a test to exercise different combinations of attributes on the
declaration versus on the definition, which is another way that these
things can end up having to be merged/untangled.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6376 bytes
More information about the cfe-commits