summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr27236.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/pr27236.c')
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/pr27236.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr27236.c b/gcc/testsuite/gcc.dg/tree-ssa/pr27236.c
index b623486294a..389b652069d 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr27236.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr27236.c
@@ -5,6 +5,7 @@ static inline int inline_read(volatile int *mem)
{
return *mem;
}
+__attribute__ ((noinline))
int foo_read(volatile int *mem)
{
return inline_read(mem);