From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25009 invoked by alias); 17 Apr 2007 12:14:54 -0000 Received: (qmail 24901 invoked by uid 48); 17 Apr 2007 12:14:38 -0000 Date: Tue, 17 Apr 2007 12:14:00 -0000 Message-ID: <20070417121438.24900.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31600] Better error message for redeclation of USEd symbols 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-04/txt/msg01207.txt.bz2 ------- Comment #1 from burnus at gcc dot gnu dot org 2007-04-17 13:14 ------- If one tries to change the attribute of an USE-associated symbol the error is better: external omp_get_num_threads, omp_get_thread_num 1 Error: Cannot change attributes of USE-associated symbol at (1) (I personally would favour -std=legacy instead of -std=gnu, but ok.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31600