[patch, fortran] PR30681 "obsolescent" vs. "obsolete"

Brooks Moses bmoses@stanford.edu
Mon Feb 19 06:45:00 GMT 2007


At 10:24 PM 2/18/2007, Jerry DeLisle wrote:
>:ADDPATCH fortran:
>
>The attached patch does two things:
>
>1) Changes the warning level for GFC_STD_F95_OBS so that no error or 
>warning is given by default and only a warning is given for -std=f95 or 
>-std=f2003.

Currently, a warning will be given at -std=gnu as well; you need to also 
change lines 623 and 624 of options.c to avoid this.

(I think it would be nice if, instead of duplicating this code, we replaced 
the initialization of gfc_option.allow_std and gfc_option.warn_std with 
something like gfc_handle_option(OPT_std_gnu, "", 0), to ensure that these 
stay in sync.)

- Brooks



More information about the Fortran mailing list