This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24965] Wrong file name in error message
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2007 13:01:03 -0000
- Subject: [Bug fortran/24965] Wrong file name in error message
- References: <bug-24965-7427@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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