This adjusts the testcase to not require float vector division,
maybe the cause the testcase fails on arm and ppc (just a guess).

Installed.

Richard.

2013-12-05  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/56787
        * gcc.dg/vect/pr56787.c: Adjust to not require vector float
        division.

Index: gcc/testsuite/gcc.dg/vect/pr56787.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/pr56787.c (revision 205692)
+++ gcc/testsuite/gcc.dg/vect/pr56787.c (working copy)
@@ -5,7 +5,7 @@ inline void
 bar (const float s[5], float z[3][5])
 {
   float a = s[0], b = s[1], c = s[2], d = s[3], e = s[4];
-  float f = 1.0f / a;
+  float f = a;
   float u = f * b, v = f * c, w = f * d;
   float p = 0.4f * (e - 0.5f * (b * u + c * v + d * w));
   z[0][3] = b * w;

Reply via email to