From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26794 invoked by alias); 15 Jun 2012 02:15:05 -0000 Received: (qmail 26688 invoked by uid 22791); 15 Jun 2012 02:15:02 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jun 2012 02:14:49 +0000 From: "kirbyzhou@sogou-inc.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/50043] [C++0x] Implement core/1123 Date: Fri, 15 Jun 2012 02:15: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: kirbyzhou@sogou-inc.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: 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: 2012-06/txt/msg00974.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50043 --- Comment #14 from Kirby Zhou 2012-06-15 02:14:48 UTC --- I have tested to apply this patch to 4.7 branch, everythings goes well. Since it breaks already existing code, anybody can do commit backport to 4.7 branch? (In reply to comment #13) > How about back port this patch to 4.7 branch? > It cause a lot of compile error which easily confuse programmers. > (In reply to comment #9) > > Author: paolo > > Date: Mon Apr 2 00:13:30 2012 > > New Revision: 186058 > > > > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186058 > > Log: > > /cp > > 2012-04-01 Paolo Carlini > > > > PR c++/50043 > > * class.c (deduce_noexcept_on_destructor, > > deduce_noexcept_on_destructors): New. > > (check_bases_and_members): Call the latter. > > * decl.c (grokfndecl): Call the former. > > * method.c (implicitly_declare_fn): Not static. > > * cp-tree.h (deduce_noexcept_on_destructor, implicitly_declare_fn): > > Declare > > > > /testsuite > > 2012-04-01 Paolo Carlini > > > > PR c++/50043 > > * g++.dg/cpp0x/noexcept17.C: New. > > * g++.old-deja/g++.eh/cleanup1.C: Adjust. > > * g++.dg/tree-ssa/ehcleanup-1.C: Likewise. > > * g++.dg/cpp0x/noexcept01.C: Likewise. > > * g++.dg/eh/init-temp1.C: Likewise. > > * g++.dg/eh/ctor1.C: Likwise. > > > > Added: > > trunk/gcc/testsuite/g++.dg/cpp0x/noexcept17.C > > Modified: > > trunk/gcc/cp/ChangeLog > > trunk/gcc/cp/class.c > > trunk/gcc/cp/cp-tree.h > > trunk/gcc/cp/decl.c > > trunk/gcc/cp/method.c > > trunk/gcc/testsuite/ChangeLog > > trunk/gcc/testsuite/g++.dg/cpp0x/noexcept01.C > > trunk/gcc/testsuite/g++.dg/eh/ctor1.C > > trunk/gcc/testsuite/g++.dg/eh/init-temp1.C > > trunk/gcc/testsuite/g++.dg/tree-ssa/ehcleanup-1.C > > trunk/gcc/testsuite/g++.old-deja/g++.eh/cleanup1.C