From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86664 invoked by alias); 8 Jul 2015 11:28:25 -0000 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 Received: (qmail 86645 invoked by uid 89); 8 Jul 2015 11:28:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 08 Jul 2015 11:28:24 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E1967ABC9 for ; Wed, 8 Jul 2015 11:28:19 +0000 (UTC) Date: Wed, 08 Jul 2015 11:28:00 -0000 From: Martin Jambor To: GCC Patches Subject: Re: [PATCH, testcase, committed] Exit with zero status from g++.dg/ipa/pr61160-3.C Message-ID: <20150708112819.GE2325@virgil.suse.cz> Mail-Followup-To: GCC Patches References: <20140722163132.GA30804@virgil.suse> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20140722163132.GA30804@virgil.suse> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00586.txt.bz2 Hi, apparently I have forgot to backport this to the 4.9 branch which was now pointed out in a separate PR 61820. The patch is obvious and testcase-only, so I have done the backport now, after some basic testing, so that I can close the bug. Thanks, Martin On Tue, Jul 22, 2014 at 06:31:32PM +0200, Martin Jambor wrote: > Hi, > > in order to avoid spurious testsuite failures, I've checked in the > following obvious patch so that the testcase always returns zero. I > have verified it still properly tests for non-existence of the bug. > > Thanks, > > Martin > > 2014-07-22 Martin Jambor > > PR ipa/61160 > * g++.dg/ipa/pr61160-3.C (main): Return zero. > > Index: gcc/testsuite/g++.dg/ipa/pr61160-3.C > =================================================================== > --- gcc/testsuite/g++.dg/ipa/pr61160-3.C (revision 212914) > +++ gcc/testsuite/g++.dg/ipa/pr61160-3.C (working copy) > @@ -33,5 +33,6 @@ void *test (MMixin & anExample) > int main () > { > CExample c; > - return (test (c) != &c); > + test (c); > + return 0; > }