From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86979 invoked by alias); 24 Aug 2015 14:43:52 -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 86886 invoked by uid 48); 24 Aug 2015 14:43:44 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59480] Missing error diagnostic: friend declaration specifying a default argument must be a definition Date: Mon, 24 Aug 2015 14:43: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.9.0 X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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: cf_reconfirmed_on cc 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: 2015-08/txt/msg01652.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59480 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2014-12-14 00:00:00 |2015-8-24 CC| |manu at gcc dot gnu.org --- Comment #3 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- Strangely enough, this is one of the bugs in GCC that OpenMandriva develope= rs present as a reason for them switching to Clang as the default compiler. http://mirror.as35701.net/video.fosdem.org//2015/devroom-llvm_toolchain/ope= nmandriva__CAM_ONLY.mp4 (around 16:00) class A { friend void b(int, const char *s=3D 0); }; >>From gcc-bugs-return-495511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Aug 24 14:57:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53139 invoked by alias); 24 Aug 2015 14:57:47 -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 53071 invoked by uid 48); 24 Aug 2015 14:57:43 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59480] Missing error diagnostic: friend declaration specifying a default argument must be a definition Date: Mon, 24 Aug 2015 14:57: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.9.0 X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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: 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: 2015-08/txt/msg01653.txt.bz2 Content-length: 800 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59480 --- Comment #4 from Jonathan Wakely --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #3) > Strangely enough, this is one of the bugs in GCC that OpenMandriva > developers present as a reason for them switching to Clang as the default > compiler. >=20 > http://mirror.as35701.net/video.fosdem.org//2015/devroom-llvm_toolchain/ > openmandriva__CAM_ONLY.mp4 (around 16:00) >=20 > class A { > friend void b(int, const char *s=3D 0); > }; And on the very next slide they give another example of a bug accepted by G= CC, which is rejected by every version of GCC I tried, going back to 4.4, so I suspect they are looking for reasons to justify a move they wanted to make anyway, and this bug is incidental. >>From gcc-bugs-return-495512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Aug 24 14:58:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54866 invoked by alias); 24 Aug 2015 14:58:39 -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 54792 invoked by uid 48); 24 Aug 2015 14:58:32 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67298] [6 Regression] 254.gap in SPEC CPU 2000 is miscompiled Date: Mon, 24 Aug 2015 14:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-08/txt/msg01654.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67298 --- Comment #3 from Andrew Pinski --- Also does using -fwrapv fix the problem? It might be the case gap just has undefined code in it and now we produce better code.