From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30979 invoked by alias); 19 Jan 2013 10:28:24 -0000 Received: (qmail 30936 invoked by uid 48); 19 Jan 2013 10:28:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55742] [4.8 regression] __attribute__ in class function declaration cause "prototype does not match" errors. Date: Sat, 19 Jan 2013 10:28: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Attachment #29207 is obsolete Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-01/txt/msg01816.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55742 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #29207|0 |1 is obsolete| | --- Comment #40 from Jakub Jelinek 2013-01-19 10:28:02 UTC --- Created attachment 29217 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29217 gcc48-pr55742-2.patch The following I mean (incremental patch). No test coverage for that, of course that needs to be added. BTW, I've noticed wrong ChangeLog entries, your gcc/ChangeLog-2012 CL entries refer to c-family/ (and cp/) files, while those should be moved (without prefix) to corresponding c-family/ChangeLog resp. cp/ChangeLog-2012.