Make driver process options with *.opt machinery

Tobias Burnus burnus@net-b.de
Mon Aug 16 09:31:00 GMT 2010


  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?

Tobias

> +++ gcc-mainline/gcc/c-family/c.opt	2010-08-12 02:48:01.000000000 -0700
> MDX
> -C ObjC C++ ObjC++ Separate MissingArgError(missing filename after %qs)
> +C ObjC C++ ObjC++ RejectDriver Separate MissingArgError(missing filename after %qs)

> +++ gcc-mainline/gcc/fortran/lang.opt	2010-08-12 02:48:14.000000000 -0700
>   MDX
> -Fortran Separate
> +Fortran Separate RejectDriver

> +++ gcc-mainline/gcc/java/lang.opt	2010-08-12 02:47:21.000000000 -0700
>   MD_
> -Java Undocumented
> +Java Undocumented RejectDriver



More information about the Fortran mailing list