public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/30605]  New: -Wno-tabs should be active for -std=f2003 and -pedantic
@ 2007-01-26 22:18 jb at gcc dot gnu dot org
  2007-01-27  0:02 ` [Bug fortran/30605] " kargl at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: jb at gcc dot gnu dot org @ 2007-01-26 22:18 UTC (permalink / raw)
  To: gcc-bugs

-Wno-tabs according to the manual currently is active for -pedantic, -std=f95,
and -Wall. It should be active for -std=f2003 as well. Finally, it's not
actually active for -pedantic. 

% cat xtabs.f90
        print *, "hi"
end

-std=f2003 and -pedantic don't work:

% gfortran -std=f2003 xtabs.f90
%

% gfortran -pedantic xtabs.f90
%

-std=f95 and -Wall do work:

% gfortran -std=f95 xtabs.f90
xtabs.f90:1.1:

 print *, "hi"
1
Warning: Nonconforming tab character at (1)

% gfortran -Wall xtabs.f90
xtabs.f90:1.1:

 print *, "hi"
1
Warning: Nonconforming tab character at (1)


-- 
           Summary: -Wno-tabs should be active for -std=f2003 and -pedantic
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jb at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30605


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-02-06  0:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-26 22:18 [Bug fortran/30605] New: -Wno-tabs should be active for -std=f2003 and -pedantic jb at gcc dot gnu dot org
2007-01-27  0:02 ` [Bug fortran/30605] " kargl at gcc dot gnu dot org
2007-01-27  0:02 ` kargl at gcc dot gnu dot org
2007-01-27  0:45 ` kargl at gcc dot gnu dot org
2007-01-27 18:01 ` kargl at gcc dot gnu dot org
2007-01-30 23:06 ` jb at gcc dot gnu dot org
2007-01-30 23:09 ` sgk at troutmask dot apl dot washington dot edu
2007-02-01 11:30 ` jb at gcc dot gnu dot org
2007-02-04 21:32 ` [Bug fortran/30605] [4.2 only] " kargl at gcc dot gnu dot org
2007-02-06  0:28 ` kargl at gcc dot gnu dot org
2007-02-06  0:31 ` kargl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).