This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH: PR /3187] C++ space optimization: declone delete destructor


On 09/08/2009 12:09 AM, Carrot Wei wrote:
Yes, I did notice inlining occurred. That makes up another 1% code
size opportunity for skia on arm. Since I didn't change any function
attributes, it should not violate ODR.

Check inlining with -fpic. That's the case that'll likely be a regression with your patch.

What needs to happen, I expect, is that you'll have to introduce
a local alias for the complete destructor and use that instead.


r~



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]