attr-weak-hidden-1.c: Make definition of foo strong.
authorRichard Guenther <rguenther@suse.de>
Mon, 14 Feb 2011 13:44:53 +0000 (13:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 14 Feb 2011 13:44:53 +0000 (13:44 +0000)
2011-02-14  Richard Guenther  <rguenther@suse.de>

* gcc.dg/attr-weak-hidden-1.c: Make definition of foo strong.

From-SVN: r170128

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-weak-hidden-1.c

index 63318f130715a988a6af8b5a36f81f6fc2ebce83..be7c57e6da50f1e4608bf86efb8d7601256bc4bd 100644 (file)
@@ -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
index 968bab7ad34ac989a5bdeddfef2e872a26017603..b8d75d9c7caa850e1142a9946b0e81bfb986fcf2 100644 (file)
@@ -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; }