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/23308] named common block confused as procedure - runtime segfault



------- 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



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