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: Make driver process options with *.opt machinery


On Mon, 16 Aug 2010, Tobias Burnus wrote:

>  On 08/12/2010 11:33 PM, Joseph S. Myers wrote:
> > Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  OK to
> > commit?
> > 
> > fortran:
> > 2010-08-12  Joseph Myers<joseph@codesourcery.com>
> > 	* lang.opt (MDX, MMDX): Mark RejectDriver.
> 
> The Fortran bits are OK (Java and middle-end have been approved by others) - I
> think the Fortran changes are close to obvious.
> 
> However, I wonder about the following (cf. excerpt below), namely about the
> MissingArgError; shouldn't one use this for all *.opt files?

The awk scripts combine such settings from all .opt files.  In general, 
yes, it would be better for such combining not to be needed except for the 
flags saying what front ends an option is for, but I have not tried to fix 
existing .opt entries for that.

-- 
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]