This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23308] named common block confused as procedure - runtime segfault
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2006 15:15:15 -0000
- Subject: [Bug fortran/23308] named common block confused as procedure - runtime segfault
- References: <bug-23308-10374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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