And the patch..

Thanks,
bin

> -----Original Message-----
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-
> ow...@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.ch...@arm.com>
> 
>       * gcc.dg/tree-prof/crossmodule-indircall-1.c: Return 0
>       for execution test case.
> 
> 
> 
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;
 }

Reply via email to