summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/vect-reduc-8.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/vect-reduc-8.c')
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect-reduc-8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-8.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-8.c
index 596c93ed043..fdfec0a8b7a 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-reduc-8.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-8.c
@@ -7,7 +7,7 @@
extern void abort (void);
typedef signed char T;
-void
+__attribute__ ((noinline)) void
testmax (const T *c, T init, T result)
{
T lc[N], accum = init;
@@ -23,7 +23,7 @@ testmax (const T *c, T init, T result)
abort ();
}
-void
+__attribute__ ((noinline)) void
testmin (const T *c, T init, T result)
{
T lc[N], accum = init;