From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23926 invoked by alias); 26 Jan 2007 22:18:58 -0000 Received: (qmail 20804 invoked by uid 48); 26 Jan 2007 22:15:52 -0000 Date: Fri, 26 Jan 2007 22:18:00 -0000 Subject: [Bug fortran/30605] New: -Wno-tabs should be active for -std=f2003 and -pedantic X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jb at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-01/txt/msg02304.txt.bz2 -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