This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/26054] Gratuitous warning about Fortran 2003 features w/o -std=...
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2006 23:23:27 -0000
- Subject: [Bug fortran/26054] Gratuitous warning about Fortran 2003 features w/o -std=...
- References: <bug-26054-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from anlauf at gmx dot de 2006-01-31 23:23 -------
(In reply to comment #1)
> The default is somewhere inbetween -std=f90 (which does not really exist) and
> -std=gnu
Hmmm. Did you really mean Fortran 90 (which does exist
as a standard but not as f90 in gfortran) or Fortran 95?
Anyway, if your comment is true, then I feel this "somewhere
in between" is the real bug, unless documented as a feature
or added as an appropriate option (-std=somewhere-in-between).
[Some other compilers (like xlf) use the most loose definition
of language if none is specified. In the case of xlf you can
explicitly confirm it with -qlanglvl=extended.]
Feel free to correct the title appropriately.
Cheers,
-ha
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26054