This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/24965] Wrong file name in error message



------- Comment #3 from dfranke at gcc dot gnu dot org  2007-05-18 14:00 -------
I'm not 100% sure whether the code below resembles the problem Erik reported
here, but if so, it is fixed in mainline and 4.2:

$> cat pr24965.inc
real :: x

$> cat pr24965.f90
real :: x
include "pr24965.inc"
x = 3.14
end

$> gfortran-svn -g -Wall pr24965.f90
pr24965.inc:1.9:
    Included at pr24965.f90:2:

real :: x
        1
Error: Symbol 'x' at (1) already has basic type of REAL


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfranke at gcc dot gnu dot
                   |                            |org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]