This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25062] same name for parameter and common block
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2006 15:57:19 -0000
- Subject: [Bug fortran/25062] same name for parameter and common block
- References: <bug-25062-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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