aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2011-07-31 10:02:12 +0000
committerTom de Vries <vries@gcc.gnu.org>2011-07-31 10:02:12 +0000
commit2a6dcb7e7383a8310a6442c9fc47b9b38c4d0680 (patch)
tree05ed79e71e36cb70a85a931b112a9fc8045f2ea8
parent22d2fec0352a4674537f2de3d408c7f88d88a84a (diff)
downloadgcc-2a6dcb7e7383a8310a6442c9fc47b9b38c4d0680.zip
gcc-2a6dcb7e7383a8310a6442c9fc47b9b38c4d0680.tar.gz
gcc-2a6dcb7e7383a8310a6442c9fc47b9b38c4d0680.tar.bz2
re PR middle-end/43513 (The stack pointer is adjusted twice)
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. From-SVN: r176968
-rw-r--r--libmudflap/ChangeLog6
-rw-r--r--libmudflap/testsuite/libmudflap.c/fail31-frag.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog
index c79116b..e4754d5 100644
--- a/libmudflap/ChangeLog
+++ b/libmudflap/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Revert:
diff --git a/libmudflap/testsuite/libmudflap.c/fail31-frag.c b/libmudflap/testsuite/libmudflap.c/fail31-frag.c
index bd9a903..138c8cc 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];