From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19631 invoked by alias); 16 Aug 2014 03:23:15 -0000 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 Received: (qmail 19573 invoked by uid 48); 16 Aug 2014 03:23:07 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/39159] unhelpful attribute warning on matching declaration after definition Date: Sat, 16 Aug 2014 03:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg01120.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39159 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-08-16 CC| |manu at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- Confirmed. Perhaps it is not hard to fix. Just look how it is handled for functions. Probably it is at the same place as this: void __attribute__ ((visibility ("default"))) foo () { } void __attribute__ ((visibility ("hidden"))) foo (); pr39159.C:4:49: warning: =E2=80=98void foo()=E2=80=99: visibility attribute= ignored because it conflicts with previous declaration [-Wattributes] void __attribute__ ((visibility ("default"))) foo () { } ^ pr39159.C:4:49: note: previous declaration of =E2=80=98void foo()=E2=80=99 and see if you can implement the same thing for types, probably at the point where the " type attributes ignored" warning is given. >>From gcc-bugs-return-458624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Aug 16 07:59:05 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32101 invoked by alias); 16 Aug 2014 07:59:04 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32072 invoked by uid 48); 16 Aug 2014 07:59:00 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57466] [DR 1584] Argument deduction fails for 'const T*' when T is function type Date: Sat, 16 Aug 2014 07:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.3 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg01121.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57466 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #8 from Paolo Carlini --- Still working on this.