]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix gcc.dg/fstack-protector-strong.c on Solaris/x86
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 14 May 2013 10:24:03 +0000 (10:24 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 14 May 2013 10:24:03 +0000 (10:24 +0000)
* gcc.dg/fstack-protector-strong.c (alloca): Declare.

From-SVN: r198872

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fstack-protector-strong.c

index 0f7e1296f4a7495e282b566d9d4e05a1c7f9256c..d37d4ae4dd85f1c15a194559b953eb4e86b44daf 100644 (file)
@@ -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
index c5a52e59a0d1fbb2c53bd8b3e902dbc13e66336a..6d5dd0f8c4b972235db892794f853e3ba2cd763f 100644 (file)
@@ -6,6 +6,8 @@
 #include<string.h>
 #include<stdlib.h>
 
+extern void *alloca(__SIZE_TYPE__);
+
 extern int g0;
 extern int* pg0;
 int