2019-02-28 John David Anglin <danglin@gcc.gnu.org>
PR testsuite/89441
* g++.dg/ipa/pr89009.C: Update symbol visibility.
From-SVN: r269278
+2019-02-28 John David Anglin <danglin@gcc.gnu.org>
+
+ PR testsuite/89441
+ * g++.dg/ipa/pr89009.C: Update symbol visibility.
+
2019-02-28 Tamar Christina <tamar.christina@arm.com>
PR target/88530
/* PR ipa/89009 */
/* { dg-do run } */
-/* { dg-options "-fvisibility=hidden -fpic -O2 -fno-inline" } */
+/* { dg-options "-fpic -O2 -fno-inline" } */
+/* { dg-require-visibility "" } */
-#pragma GCC visibility push(default)
void foo1() { __builtin_printf ("foo\n"); }
-#pragma GCC visibility pop
+#pragma GCC visibility push(hidden)
void foo2() { __builtin_printf ("foo\n"); }
+#pragma GCC visibility pop
int main() { foo2(); return 0; }