Re: OPTION_DEFAULT_SPECS question

2012-06-04 Thread Steve Ellcey
On Wed, 2012-05-30 at 14:27 -0400, David Edelsohn wrote: > On Wed, May 30, 2012 at 1:39 PM, Steve Ellcey wrote: > > > > > My question is: When checking the value of TARGET_SYNCI is there anyway > > to tell if the flag was set explicitly by the user or implicitly by > > the compiler? The reason I

Re: OPTION_DEFAULT_SPECS question

2012-05-30 Thread David Edelsohn
On Wed, May 30, 2012 at 1:39 PM, Steve Ellcey wrote: > > My question is: When checking the value of TARGET_SYNCI is there anyway > to tell if the flag was set explicitly by the user or implicitly by > the compiler?  The reason I want to know is that if I build GCC for MIPS > today and configure w

OPTION_DEFAULT_SPECS question

2012-05-30 Thread Steve Ellcey
I have a question about OPTION_DEFAULT_SPECS and default flag settings. During a MIPS GCC build one can configure with --with-synci or --without-synci (without is the default) and gcc.config sets with_synci to either "synci" or "no-synci" as appropriate. In mips.opt is: msynci Ta