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 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


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