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: [driver, LTO Patch]: Resurrect user specs support


On Mon, 28 May 2012, Christian Bruel wrote:

> I shared the same concern, however, after playing bits with spec toys, I
> couldn't a find a way to get a %< switch recognition failure, since the
> switches passed on the command line at this point are already validated
> if necessary.

Suppose with the existing sources an option (in a .opt file) is matched by 
a $< spec, and not by any other spec.  Will it be rejected by the driver?  
It shouldn't be.  Are you saying there is some pre-existing bug here, or 
that %< validation happens in more than one place so some setting of 
"validated" is redundant but the code still works correctly?

-- 
Joseph S. Myers
joseph@codesourcery.com


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