diff mbox

Fix obvious bogus test case

Message ID 001501cf2e28$a5ed5e00$f1c81a00$@arm.com
State New
Headers show

Commit Message

Bin Cheng Feb. 20, 2014, 10:43 a.m. UTC
And the patch..

Thanks,
bin

> -----Original Message-----
> From: gcc-patches-owner@gcc.gnu.org [mailto:gcc-patches-
> owner@gcc.gnu.org] On Behalf Of bin.cheng
> Sent: Thursday, February 20, 2014 6:42 PM
> To: gcc-patches@gcc.gnu.org
> Subject: [PATCH GCC]Fix obvious bogus test case
> 
> Hi,
> The case is an execution case, while the main function doesn't return 0.
> Committed as obvious.
> 
> Thanks,
> bin
> 
> 
> gcc/testsuite/ChangeLog
> 2014-02-20  Bin Cheng  <bin.cheng@arm.com>
> 
> 	* gcc.dg/tree-prof/crossmodule-indircall-1.c: Return 0
> 	for execution test case.
> 
> 
>
diff mbox

Patch

Index: gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1.c
===================================================================
--- gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1.c	(revision 207809)
+++ gcc/testsuite/gcc.dg/tree-prof/crossmodule-indircall-1.c	(working copy)
@@ -16,4 +16,6 @@  main()
     p[i%2](2);
   if (a != 1000)
     abort ();
+
+  return 0;
 }