This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47168] Error with use-renaming
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Dec 2011 20:45:13 +0000
- Subject: [Bug fortran/47168] Error with use-renaming
- Auto-submitted: auto-generated
- References: <bug-47168-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47168
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |burnus at gcc dot gnu.org
Resolution| |DUPLICATE
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-12-19 20:45:13 UTC ---
The program in comment 0 looks wrong to me:
use n
use n, only: b=>a
does not import "a" per paragraph 7 of Fortran 2008's "11.2.2
The USE statement and use association".
Thus, gfortran rightly complains about:
public a, b
1
Error: Symbol 'a' at (1) has no IMPLICIT type
In the thread, the example "bug1b.f90" (date: Jan 5, 7:36 am) is the same as PR
51578. All other examples are - valid or invalid - correctly handled by
gfortran.
Thus, I mark this PR as duplicate of PR 51578.
*** This bug has been marked as a duplicate of bug 51578 ***