summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/autopar/pr49960.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/autopar/pr49960.c')
-rw-r--r--gcc/testsuite/gcc.dg/autopar/pr49960.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/autopar/pr49960.c b/gcc/testsuite/gcc.dg/autopar/pr49960.c
index b34a5207755..5dacb8de84a 100644
--- a/gcc/testsuite/gcc.dg/autopar/pr49960.c
+++ b/gcc/testsuite/gcc.dg/autopar/pr49960.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -ftree-parallelize-loops=4 -fdump-tree-parloops-details -fdump-tree-optimized" } */
+/* { dg-options "-O2 -ftree-parallelize-loops=4 -fdump-tree-parloops-details -fdump-tree-optimized -fno-partial-inlining" } */
#include <stdio.h>
#define MB 100
@@ -12,7 +12,9 @@ void MRTRBR(int MA_1, int NA_1, int MB_1)
int i,j, t,k;
/* At the moment we are not able to hoist the loop headers out of the loop
- nest. */
+ nest.
+ Partial inlining needs to be disabled so we do not optimize this out
+ of the function body. */
if (MA_1 < 4 || NA_1 < 4 || MB_1 < 4)
return;