Fix PR55327

Submitted by Richard Guenther on Nov. 28, 2012, 9:27 a.m.

Details

Message ID alpine.LNX.2.00.1211281027280.8142@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Guenther Nov. 28, 2012, 9:27 a.m.
This should fix PR55327.

Committed as obvious.

Richard.

2012-11-28  Richard Biener  <rguenther@suse.de>

	PR testsuite/55327
	* gcc.dg/vect/slp-perm-8.c: Mark worker as noinline.
	* gcc.dg/vect/slp-perm-9.c: Likewise.

Patch hide | download patch | download mbox

Index: gcc/testsuite/gcc.dg/vect/slp-perm-8.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/slp-perm-8.c	(revision 193881)
+++ gcc/testsuite/gcc.dg/vect/slp-perm-8.c	(working copy)
@@ -5,7 +5,8 @@ 
 
 #define N 200
 
-void foo (unsigned char *__restrict__ pInput, unsigned char *__restrict__ pOutput)
+void __attribute__((noinline))
+foo (unsigned char *__restrict__ pInput, unsigned char *__restrict__ pOutput)
 {
   unsigned char i, a, b, c;
 
Index: gcc/testsuite/gcc.dg/vect/slp-perm-9.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/slp-perm-9.c	(revision 193881)
+++ gcc/testsuite/gcc.dg/vect/slp-perm-9.c	(working copy)
@@ -5,7 +5,8 @@ 
 
 #define N 200
 
-void foo (unsigned short *__restrict__ pInput, unsigned short *__restrict__ pOutput)
+void __attribute__((noinline))
+foo (unsigned short *__restrict__ pInput, unsigned short *__restrict__ pOutput)
 {
   unsigned short i, a, b, c;