[Bug fortran/25062] same name for parameter and common block

jv244 at cam dot ac dot uk gcc-bugzilla@gcc.gnu.org
Wed Jan 11 15:57:00 GMT 2006



------- Comment #4 from jv244 at cam dot ac dot uk  2006-01-11 15:57 -------
(In reply to comment #3)
> Even Lahey's Fortran 90 and their 95 compiler does not error out about this.
> 
> I wonder if xlf does.
> 

xlf90 -qsuffix=f=f90 mytest.f90
"mytest.f90", line 2.9: 1514-259 (S) A name must not be both the name of a
named constant and the name of a COMMON block.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25062




More information about the Gcc-bugs mailing list