Patchwork Handle loops with control flow in loop-distribution

login
register
mail settings
Submitter Andreas Schwab
Date Sept. 17, 2013, 9:07 a.m.
Message ID <mvm8uyvakaj.fsf@hawking.suse.de>
Download mbox | patch
Permalink /patch/275407/
State New
Headers show

Comments

Andreas Schwab - Sept. 17, 2013, 9:07 a.m.
Installed as obvious.

Andreas.

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

Patch

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" } } */