This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Make more options use Var in .opt files, remove duplicate declarations etc.
On 06/07/2010 05:30 PM, Joseph S. Myers wrote:
> Fortran note: the Fortran logic for -fshort-enums would also have
> handled -fno-short-enums incorrectly as a synonym for -fshort-enums,
> and this patch fixes that.
> Bootstrapped with no regressions on x86_64-unknown-linux-gnu. OK to
> commit (the parts outside of c-family/ need review)?
>
> fortran:
> 2010-06-07 Joseph Myers <joseph@codesourcery.com>
>
> * lang.opt (fshort-enums): Define using Var and VarExists.
> * options.c (gfc_handle_option): Don't set flag_short_enums here.
The Fortran bits are OK.
Tobias