This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32987] TAB in FORMAT: accept extension, warn with -std=f*
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2007 17:00:32 -0000
- Subject: [Bug fortran/32987] TAB in FORMAT: accept extension, warn with -std=f*
- References: <bug-32987-12095@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from sgk at troutmask dot apl dot washington dot edu 2007-08-04 17:00 -------
Subject: Re: TAB in FORMAT: accept extension, warn with -std=f*
On Sat, Aug 04, 2007 at 04:53:33PM -0000, burnus at gcc dot gnu dot org wrote:
>
>
> I therefore suggest:
> - Silently accept the tab in libgfortran
I disagree on this point. gfortran has been around for a long
time now and this is the first report of the tab-in-format
runtime error. gfortran should complain loudly that the
code is invalid.
> - Give a warning or an error with -std=f95/f2003.
What about -std=f66, f77, or f90? Yes, I know gfortran doesn't
have these levels, but the tab violates all fortran standards.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32987