From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24086 invoked by alias); 24 Jul 2014 13:08:28 -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 24064 invoked by uid 89); 24 Jul 2014 13:08:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham 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; Thu, 24 Jul 2014 13:08:26 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0032EACEE for ; Thu, 24 Jul 2014 13:08:22 +0000 (UTC) Date: Thu, 24 Jul 2014 13:11: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: <20140724130822.GC2772@virgil.suse> 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.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg01659.txt.bz2 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. ...and here goes the same thing for g++.dg/ipa/pr61160-2.C which I forgot is also a run time test. I will commit these changes to both testcase on the 4.9 branch shortly. Hopefully that will be really it. Martin 2014-07-24 Martin Jambor PR ipa/61160 * g++.dg/ipa/pr61160-2.C (main): Always return zero. Index: g++.dg/ipa/pr61160-2.C =================================================================== --- g++.dg/ipa/pr61160-2.C (revision 212986) +++ g++.dg/ipa/pr61160-2.C (working copy) @@ -39,5 +39,6 @@ void *test (MMixin & anExample) int main () { CExample c; - return (test (c) != &c); + test (c); + return 0; }