diff mbox

[testsuite] Fix vect-120.c failure on IA64

Message ID 201110201608.p9KG8LW20279@adlwrk05.cce.hp.com
State New
Headers show

Commit Message

Steve Ellcey Oct. 20, 2011, 4:08 p.m. UTC
I am going to check this change in as obvious later today, the test
includes a conversion from float to int in the loop and if that isn't
supported by a target, then the loop is not vectorized.  This test has
been failing on IA64 and perhaps on ARM too, there was a reference to it
in PR 50150.  I didn't test the change on ARM but it fixes the failure
on IA64.

Steve Ellcey
sje@cup.hp.com


2011-10-20  Steve Ellcey  <sje@cup.hp.com>

	* gcc.dg/vect/vect-120.c: Add vect_floatint_cvt requirement.
diff mbox

Patch

Index: gcc.dg/vect/vect-120.c
===================================================================
--- gcc.dg/vect/vect-120.c	(revision 180233)
+++ gcc.dg/vect/vect-120.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target vect_float } */
 /* { dg-require-effective-target vect_shift } */
+/* { dg-require-effective-target vect_floatint_cvt } */
 
 static inline float
 i2f(int x)