diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2013-05-31 11:32:43 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2013-05-31 11:32:43 +0000 |
commit | 3d6cc50a464cf3d003a97442a33f8a1b4c3ffd79 (patch) | |
tree | 19f08203aa0dd2e5025ee49ce20a5795fa5c3437 | |
parent | ccc20e5ca10824480eb9151867c546da4c210827 (diff) | |
download | gcc-3d6cc50a464cf3d003a97442a33f8a1b4c3ffd79.zip gcc-3d6cc50a464cf3d003a97442a33f8a1b4c3ffd79.tar.gz gcc-3d6cc50a464cf3d003a97442a33f8a1b4c3ffd79.tar.bz2 |
Fix gcc.dg/shrink-wrap-alloca.c
* gcc.dg/shrink-wrap-alloca.c: Use __builtin_alloca.
From-SVN: r199533
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/shrink-wrap-alloca.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1c3bcf1..d04d2f8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * gcc.dg/shrink-wrap-alloca.c: Use __builtin_alloca. + 2013-05-31 Marek Polacek <polacek@redhat.com> PR tree-optimization/57478 diff --git a/gcc/testsuite/gcc.dg/shrink-wrap-alloca.c b/gcc/testsuite/gcc.dg/shrink-wrap-alloca.c index 9e69ca1..fbe6f4f 100644 --- a/gcc/testsuite/gcc.dg/shrink-wrap-alloca.c +++ b/gcc/testsuite/gcc.dg/shrink-wrap-alloca.c @@ -1,13 +1,11 @@ /* { dg-do compile } */ /* { dg-options "-O2 -g" } */ -extern int * alloca (int); - int *p; void test (int a) { if (a > 0) - p = alloca (4); + p = __builtin_alloca (4); } |