[Bug fortran/52328] New: Wrong line in warning

Keller at hlrs dot de gcc-bugzilla@gcc.gnu.org
Tue Feb 21 16:54:00 GMT 2012


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

             Bug #: 52328
           Summary: Wrong line in warning
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Keller@hlrs.de


The line numbering in the warning of below example is wrong:

Warning: Nonconforming tab character in column 1 of line 6

This is warning is emitted starting with gfortran-4.2 and occurs in svn-trunk
when compiling with -Wall.


This is related to the fix back then in PR 34899.

Thank You very much.


PS: some more info:
>>>>>> gcc -v:
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/opt/gcc-svn/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/opt/gcc-svn --enable-bootstrap
--enable-threads --enable-tls --enable-languages=c,c++,fortran,java,lto,go
--enable-lto --enable-gold --enable-plugins
Thread model: posix
gcc version 4.7.0 20120213 (experimental) (GCC

>>>>>> uname -a:
james:/usr/src/gcc-svn # uname -a
Linux james 3.2.6-2 #1 SMP Mon Feb 20 20:54:52 CET 2012 x86_64 x86_64 x86_64
GNU/Linux



More information about the Gcc-bugs mailing list