[Bug fortran/30239] New: duplicate data type assignment not detected
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Dec 17 16:48:00 GMT 2006
The Intel Fortan Compiler issues an error on the code below
INTEGER FUNCTION foo()
INTEGER :: foo
foo = 0
END FUNCTION
gfortran takes it without further notice. Letting "INTEGER :: foo" be "REAL ::
foo" gives "Error: Symbol 'foo' at (1) already has basic type of INTEGER" on
gfortran as well.
$> gfortran-svn -v
gcc version 4.3.0 20061128 (experimental)
--
Summary: duplicate data type assignment not detected
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dfranke at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30239
More information about the Gcc-bugs
mailing list