This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50072] gfortran must not accept same name for external and common
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 13 Aug 2011 11:21:34 +0000
- Subject: [Bug fortran/50072] gfortran must not accept same name for external and common
- Auto-submitted: auto-generated
- References: <bug-50072-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50072
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-08-13 11:21:34 UTC ---
Gfortran gives the following error with -std=f95 (gfortran 4.4.6 to trunk):
[macbook] f90/bug% gfc -std=f95 pr50072.f90
pr50072.f90:2.17:
common/sub/ a
1
Error: Fortran 2003: COMMON block 'sub' at (1) that is also a global procedure
but not with -std=f2003 nor with -std=f2008 as expected from the above error.
This behavior has been introduced by revision 126279 (pr25062). For discussion
and some pending corner cases see pr32515.
*** This bug has been marked as a duplicate of bug 25062 ***