Brooks Moses - Re: [patch, fortran] PR30681 "obsolescent" vs. "obsolete" (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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]

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


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