This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, testcase, committed] Exit with zero status from g++.dg/ipa/pr61160-3.C
- From: Martin Jambor <mjambor at suse dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 22 Jul 2014 18:31:32 +0200
- Subject: [PATCH, testcase, committed] Exit with zero status from g++.dg/ipa/pr61160-3.C
- Authentication-results: sourceware.org; auth=none
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 <mjambor@suse.cz>
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;
}