From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16427 invoked by alias); 26 Feb 2007 16:55:01 -0000 Received: (qmail 16389 invoked by uid 48); 26 Feb 2007 16:54:46 -0000 Date: Mon, 26 Feb 2007 16:55:00 -0000 Message-ID: <20070226165446.16388.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/30973] undetected name conflict: variables may be named like modules In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dfranke at gcc dot gnu dot org" 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: 2007-02/txt/msg02887.txt.bz2 ------- Comment #2 from dfranke at gcc dot gnu dot org 2007-02-26 16:54 ------- Tobias, the same happens if the MODULE foo contains anything and the ONLY part actually lists something. I omitted this to keep the testcase short. Same problem here: $> cat foo2.f90 MODULE foo INTEGER :: x END MODULE PROGRAM test_foo USE foo, ONLY: x INTEGER :: foo foo = 1 END PROGRAM -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30973