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

Carrot Wei carrot@google.com
Fri Sep 11 09:21:00 GMT 2009


On Wed, Sep 9, 2009 at 12:50 AM, Richard Henderson <rth@redhat.com> wrote:
> 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.
>

I tried the case with options -fpic -O2, it still got inlined.

thanks
Wei Guozhi



More information about the Gcc-patches mailing list