Re: Issues of the latest trunk with LTO merges

2009-10-12 Thread Daniel Jacobowitz
On Mon, Oct 12, 2009 at 08:09:48AM -0700, Bingfeng Mei wrote: > Richard, > Doesn't REGISTER_TARGET_PRAGMAS need to call c_register_pragma, etc, if we > want to specify target-specific pragma? It becomes part of libbackend.a, > which is linked to lto1. One solution I see is to put them into a separ

Re: Issues of the latest trunk with LTO merges

2009-10-12 Thread Richard Henderson
On 10/12/2009 08:09 AM, Bingfeng Mei wrote: Richard, Doesn't REGISTER_TARGET_PRAGMAS need to call c_register_pragma, etc, if we want to specify target-specific pragma? It becomes part of libbackend.a, which is linked to lto1. One solution I see is to put them into a separate file so the linker wo

RE: Issues of the latest trunk with LTO merges

2009-10-12 Thread Bingfeng Mei
when they are not actually used by lto1. Thanks, Bingfeng > -Original Message- > From: Richard Guenther [mailto:richard.guent...@gmail.com] > Sent: 12 October 2009 15:34 > To: Bingfeng Mei > Cc: gcc@gcc.gnu.org > Subject: Re: Issues of the latest trunk with LTO merges &g

Re: Issues of the latest trunk with LTO merges

2009-10-12 Thread Richard Guenther
On Mon, Oct 12, 2009 at 4:31 PM, Bingfeng Mei wrote: > Hello, > I ran into an issue with the LTO merges when updating to current trunk. > The problem is that my target calls a few functions/uses some data structures > in the gcc directory: c_language, paragma_lex, c_register_pragma, etc. > > gcc -