This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/60751] Extra comma in WRITE statement not diagnosed
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 Apr 2014 18:51:20 +0000
- Subject: [Bug fortran/60751] Extra comma in WRITE statement not diagnosed
- Auto-submitted: auto-generated
- References: <bug-60751-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60751
Harald Anlauf <anlauf at gmx dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gmx dot de
--- Comment #2 from Harald Anlauf <anlauf at gmx dot de> ---
gfortran is quite in line with other compilers. ifort is also quiet by
default.
However,
% gfc-trunk prxxx.f90 -std=f2008
prxxx.f90:4.13:
write (*,*), 1, 2, 3
1
Error: GNU Extension: Comma before i/o item list at (1)
% ifort prxxx.f90 -stand f08
prxxx.f90(4): warning #5198: Use of comma to separate io-access spec and
io_list is non_standard.
write (*,*), 1, 2, 3
-------------^
So gfortran is even stricter than ifort. Did you complain to Intel?