public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Martin Jambor <mjambor@suse.cz>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH, testcase, committed] Exit with zero status from g++.dg/ipa/pr61160-3.C
Date: Thu, 24 Jul 2014 13:11:00 -0000	[thread overview]
Message-ID: <20140724130822.GC2772@virgil.suse> (raw)
In-Reply-To: <20140722163132.GA30804@virgil.suse>

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  <mjambor@suse.cz>

       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;
 }

  reply	other threads:[~2014-07-24 13:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 16:31 Martin Jambor
2014-07-24 13:11 ` Martin Jambor [this message]
2015-07-08 11:28 ` Martin Jambor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140724130822.GC2772@virgil.suse \
    --to=mjambor@suse.cz \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).