RE: Function-specific optimization flags and inlining

2010-09-08 Thread Bingfeng Mei
> Sent: 08 September 2010 11:26 > To: Bingfeng Mei > Cc: gcc@gcc.gnu.org > Subject: Re: Function-specific optimization flags and inlining > > On Wed, Sep 8, 2010 at 12:07 PM, Bingfeng Mei wrote: > > Hello, > > I found that currently if a function with specific opti

RE: Function-specific optimization flags and inlining

2010-09-08 Thread Bingfeng Mei
[mailto:richard.guent...@gmail.com] > Sent: 08 September 2010 11:26 > To: Bingfeng Mei > Cc: gcc@gcc.gnu.org > Subject: Re: Function-specific optimization flags and inlining > > On Wed, Sep 8, 2010 at 12:07 PM, Bingfeng Mei wrote: > > Hello, > > I found that currently if a fu

Re: Function-specific optimization flags and inlining

2010-09-08 Thread Richard Guenther
On Wed, Sep 8, 2010 at 12:07 PM, Bingfeng Mei 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 thi