From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24540 invoked by alias); 28 Jul 2002 19:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 24520 invoked by uid 71); 28 Jul 2002 19:26:00 -0000 Resent-Date: 28 Jul 2002 19:26:00 -0000 Resent-Message-ID: <20020728192600.24518.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, James Antill Received: (qmail 22630 invoked from network); 28 Jul 2002 19:16:58 -0000 Received: from unknown (HELO mail.and.org) (63.113.167.33) by sources.redhat.com with SMTP; 28 Jul 2002 19:16:58 -0000 Received: from james by mail.and.org with local (Exim 3.35 #1) id 17YtXE-0003KJ-00 for gcc-gnats@gcc.gnu.org; Sun, 28 Jul 2002 15:16:56 -0400 Message-Id: Date: Sun, 28 Jul 2002 12:26:00 -0000 From: James Antill To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: c/7425: deprecated attribute doesn't merge with multiple declarations X-SW-Source: 2002-07/txt/msg00748.txt.bz2 List-Id: >Number: 7425 >Category: c >Synopsis: deprecated attribute doesn't merge with multiple declarations >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Jul 28 12:26:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: James Antill >Release: 3.1.1 >Organization: n/a >Environment: System: Linux code.and.org 2.4.18-5 #1 Mon Jun 10 15:37:14 EDT 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ./configure --prefix=/opt : (reconfigured) ./configure --prefix=/opt/gcc-3.1.1 >Description: If you have to extern declarations for a function as in... extern void func(void); extern __typeof(func) func __attribute__((deprecated)) ; ...then the attribute is ignored. >How-To-Repeat: see above. >Fix: I'm guessing that a new TREE() node is created for the second declaration, so either make that the one that is found ... or merge them. >Release-Note: >Audit-Trail: >Unformatted: