aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-02-14 13:44:53 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-02-14 13:44:53 +0000
commit88d0743e1aafb0b370a4b0aefd19d09917b1e043 (patch)
tree7d86c185b865a6f5af8b31a5443a6a62d5d60c05
parentad56a54c68329d8e0c3980e15ceb907eb13f8c4b (diff)
downloadgcc-88d0743e1aafb0b370a4b0aefd19d09917b1e043.zip
gcc-88d0743e1aafb0b370a4b0aefd19d09917b1e043.tar.gz
gcc-88d0743e1aafb0b370a4b0aefd19d09917b1e043.tar.bz2
attr-weak-hidden-1.c: Make definition of foo strong.
2011-02-14 Richard Guenther <rguenther@suse.de> * gcc.dg/attr-weak-hidden-1.c: Make definition of foo strong. From-SVN: r170128
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/attr-weak-hidden-1.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 63318f1..be7c57e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-14 Richard Guenther <rguenther@suse.de>
+
+ * gcc.dg/attr-weak-hidden-1.c: Make definition of foo strong.
+
2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR ada/41929
diff --git a/gcc/testsuite/gcc.dg/attr-weak-hidden-1.c b/gcc/testsuite/gcc.dg/attr-weak-hidden-1.c
index 968bab7..b8d75d9 100644
--- a/gcc/testsuite/gcc.dg/attr-weak-hidden-1.c
+++ b/gcc/testsuite/gcc.dg/attr-weak-hidden-1.c
@@ -3,4 +3,4 @@
/* { dg-require-visibility "" } */
/* { dg-options "-O2" } */
/* { dg-additional-sources "attr-weak-hidden-1a.c" } */
-int __attribute__((weak, visibility("hidden"))) foo (void) { return 0; }
+int __attribute__((visibility("hidden"))) foo (void) { return 0; }