diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2013-05-14 10:24:03 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2013-05-14 10:24:03 +0000 |
commit | d8478670ac3c1d733ca976e7bc8b66ae2e0ef9e6 (patch) | |
tree | fece36039270e691e7830c4b4e659587b8c93315 | |
parent | 56cf785912d39bf6f529e6eaace998788fd250b2 (diff) | |
download | gcc-d8478670ac3c1d733ca976e7bc8b66ae2e0ef9e6.zip gcc-d8478670ac3c1d733ca976e7bc8b66ae2e0ef9e6.tar.gz gcc-d8478670ac3c1d733ca976e7bc8b66ae2e0ef9e6.tar.bz2 |
Fix gcc.dg/fstack-protector-strong.c on Solaris/x86
* gcc.dg/fstack-protector-strong.c (alloca): Declare.
From-SVN: r198872
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/fstack-protector-strong.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0f7e129..d37d4ae 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * gcc.dg/fstack-protector-strong.c (alloca): Declare. + 2013-05-14 Richard Biener <rguenther@suse.de> PR middle-end/57235 diff --git a/gcc/testsuite/gcc.dg/fstack-protector-strong.c b/gcc/testsuite/gcc.dg/fstack-protector-strong.c index c5a52e5..6d5dd0f 100644 --- a/gcc/testsuite/gcc.dg/fstack-protector-strong.c +++ b/gcc/testsuite/gcc.dg/fstack-protector-strong.c @@ -6,6 +6,8 @@ #include<string.h> #include<stdlib.h> +extern void *alloca(__SIZE_TYPE__); + extern int g0; extern int* pg0; int |