This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Handle loops with control flow in loop-distribution


Installed as obvious.

Andreas.

	* gcc.dg/tree-ssa/ldist-22.c (main): Return zero.

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ldist-22.c b/gcc/testsuite/gcc.dg/tree-ssa/ldist-22.c
index f6fff77..afc792f 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ldist-22.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ldist-22.c
@@ -25,7 +25,7 @@ int main()
     abort ();
   if (a[0] != 0 || a[101] != 0)
     abort ();
-  return;
+  return 0;
 }
 
 /* { dg-final { scan-tree-dump "generated memset zero" "ldist" } } */
-- 
1.8.4

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]