From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14250 invoked by alias); 26 May 2011 17:38:55 -0000 Received: (qmail 14242 invoked by uid 22791); 26 May 2011 17:38:55 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e7.ny.us.ibm.com (HELO e7.ny.us.ibm.com) (32.97.182.137) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 May 2011 17:38:39 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e7.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p4QHF86Y024970 for ; Thu, 26 May 2011 13:15:08 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p4QHcbCj116016 for ; Thu, 26 May 2011 13:38:37 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p4QHcaAN028412 for ; Thu, 26 May 2011 13:38:37 -0400 Received: from [192.168.1.100] (vorma.rchland.ibm.com [9.10.86.174]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p4QHcZGp028246; Thu, 26 May 2011 13:38:35 -0400 Subject: Re: [PATCH][4.6] detect C++ errors to fix 2288 and 18770 From: Peter Bergner To: Nathan Froyd Cc: "H.J. Lu" , Gerald Pfeifer , Jack Howarth , Janis Johnson , gcc-patches@gcc.gnu.org, Richard Guenther , jason@redhat.com In-Reply-To: <20110526012420.GA15460@nightcrawler> References: <1268945454.2219.13.camel@janis-laptop> <20110522193335.GA9729@bromo.med.uc.edu> <20110525192206.GA29722@nightcrawler> <20110526012420.GA15460@nightcrawler> Content-Type: text/plain; charset="UTF-8" Date: Thu, 26 May 2011 18:24:00 -0000 Message-ID: <1306431509.25125.111.camel@otta> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg02079.txt.bz2 On Wed, 2011-05-25 at 21:24 -0400, Nathan Froyd wrote: > On Wed, May 25, 2011 at 03:22:07PM -0400, Nathan Froyd wrote: > > The patch just requires some shuffling of logic to catch issues now; > > below is a version that works for me on the trunk. > > > > This new checking does require modifying g++.dg/cpp0x/range-for5.C. > > > > Tested with g++ testsuite on x86_64-unknown-linux-gnu; tests in progress > > for libstdc++. OK to commit? > > Below is a slightly revised patch that actually adds all the necessary > dg-error directives to range-for5.C. Tested the same way; Peter Bergner > was kind enough to bootstrap and test the previous patch on > powerpc64-linux-gnu with (almost) clean results as well. FYI, the revised patch passes bootstrap and regtesting (-m32 and -m64) with no regressions on powerpc64-linux. Peter