From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32455 invoked by alias); 19 Dec 2011 20:46:16 -0000 Received: (qmail 32445 invoked by uid 22791); 19 Dec 2011 20:46:16 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Dec 2011 20:46:03 +0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/47168] Error with use-renaming Date: Mon, 19 Dec 2011 20:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-12/txt/msg02171.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47168 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |burnus at gcc dot gnu.org Resolution| |DUPLICATE --- Comment #2 from Tobias Burnus 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 ***