This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30681] "obsolescent" vs. "obsolete"
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2007 16:25:38 -0000
- Subject: [Bug fortran/30681] "obsolescent" vs. "obsolete"
- References: <bug-30681-9647@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from kargl at gcc dot gnu dot org 2007-02-05 16:25 -------
(In reply to comment #1)
> Compiling the code above with
>
> gfortran -std=f2003
>
> gives
>
> In file xarithmetic_if.f90:5
>
> if (i) 10,20,30
> 1
> Error: Obsolete: arithmetic IF statement at (1)
>
> which is incorrect, because the arithmetic IF is part of standard Fortran 2003
> and 95.
>
gfortran is correct. See section B.2 of Fortran 2003. I don't have
Fortran 95 handy, but I suspect that gfortran is correct for F95
too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30681