Function-specific optimization flags and inlining

Richard Guenther richard.guenther@gmail.com
Wed Sep 8 10:26:00 GMT 2010


On Wed, Sep 8, 2010 at 12:07 PM, Bingfeng Mei <bmei@broadcom.com> wrote:
> Hello,
> I found that currently if a function with specific optimization flags is inlined,
> the flags are lost during compilation. This will happen much more often with
> LTO (which still cannot handle it in bytecode). I wonder whether this
> is the best way to do it. Maybe we just don't inline any function with
> specific optimization flags or have an extra option to choose that. What do
> you think?

I think they are already inlining-disabled.  Maybe check why it doesn't
work for you?

Richard.

> Cheers,
> Bingfeng Mei
>
>



More information about the Gcc mailing list