From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14189 invoked by alias); 26 Feb 2007 16:48:07 -0000 Received: (qmail 14146 invoked by uid 48); 26 Feb 2007 16:47:57 -0000 Date: Mon, 26 Feb 2007 16:48:00 -0000 Message-ID: <20070226164757.14145.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: "burnus 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/msg02886.txt.bz2 ------- Comment #1 from burnus at gcc dot gnu dot org 2007-02-26 16:47 ------- I checked: " USE foo, ONLY:" is syntactically correct. The problem is that "only_flag = 1;" and no symbol is in the only-list. I think one needs to modify module.c's "read_module", but I fail quickly to see were the symbol "foo" is not added/deleted from the symbol tree. All other compilers I tried (g95,ifort,nagf95,sunf95) gave an error. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |accepts-invalid Last reconfirmed|0000-00-00 00:00:00 |2007-02-26 16:47:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30973