[Bug fortran/88190] compile_options.allow_std does not allow to distinguish between GFC_STD_GNU and GFC_STD_LEGACY
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 1 22:38:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88190
--- Comment #9 from kargl at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #8)
>
> Comments welcomed!
>
What problem are you trying to solve?
By default, gfortran tries to compile anything that
is given to her. Removing GFC_STD_LEGACY from the
default setting is simply wrong. The fact that you
need to change a number if-conditions from
GFC_STD_GNU to (GFC_STD_GNU | GFC_STD_LEGACY) is
a clear indication that there is no clear definition
of what the two macros mean.
More information about the Gcc-bugs
mailing list