summaryrefslogtreecommitdiff
path: root/libmudflap/testsuite
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-31 10:02:12 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-31 10:02:12 +0000
commite904ad5d2fff4b418ca6074dddc8b6a0e3ec4830 (patch)
tree05ed79e71e36cb70a85a931b112a9fc8045f2ea8 /libmudflap/testsuite
parentb8b3b6ea8cbbb06043827861f9a2a125744bb8fc (diff)
downloadgcc-e904ad5d2fff4b418ca6074dddc8b6a0e3ec4830.tar.gz
2011-07-31 Tom de Vries <tom@codesourcery.com>
PR middle-end/43513 * testsuite/libmudflap.c/fail31-frag.c: Adapt testcase to prevent folding of alloca. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176968 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/testsuite')
-rw-r--r--libmudflap/testsuite/libmudflap.c/fail31-frag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmudflap/testsuite/libmudflap.c/fail31-frag.c b/libmudflap/testsuite/libmudflap.c/fail31-frag.c
index bd9a903ccfd..138c8ccba1c 100644
--- a/libmudflap/testsuite/libmudflap.c/fail31-frag.c
+++ b/libmudflap/testsuite/libmudflap.c/fail31-frag.c
@@ -9,6 +9,7 @@ int main ()
return 0;
}
int *p;
+__attribute__((noinline))
int h (int i, int j)
{
int k[i];