Patchwork Fix PR55327

login
register
mail settings
Submitter Richard Guenther
Date Nov. 28, 2012, 9:27 a.m.
Message ID <alpine.LNX.2.00.1211281027280.8142@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/202404/
State New
Headers show

Comments

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

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;