[Bug fortran/23308] named common block confused as procedure - runtime segfault
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 8 15:15:00 GMT 2006
------- Comment #10 from pinskia at gcc dot gnu dot org 2006-01-08 15:15 -------
(In reply to comment #5)
> Andrew, Lahey's code checking utility gives
Lahey's Fortran 95 code checker that is online gives:
2604-S: "SOURCE.F90", line 3: The name 'foo' cannot be specified as both
external procedure name and common block name. The previous appearance is in
'line 4'.
2521-S: "SOURCE.F90", line 4: Intrinsic procedure name or external procedure
name same as common block name 'foo'.
So maybe this should only be an error in Fortran 95 mode.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23308
More information about the Gcc-bugs
mailing list