Re: [PATCH] Fix g++.dg/opt/pr56999.C

2014-03-23 Thread Jakub Jelinek
On Sun, Mar 23, 2014 at 09:47:21PM -0400, John David Anglin wrote: > On hppa64-hp-hpux11.11, the lack of a pragma to pop the currently > hidden visibility before > main results in main being hidden. The attached change adds a pop > pragma to resolve the > test failure: > ld: (Warning) Potential un

[PATCH] Fix g++.dg/opt/pr56999.C

2014-03-23 Thread John David Anglin
On hppa64-hp-hpux11.11, the lack of a pragma to pop the currently hidden visibility before main results in main being hidden. The attached change adds a pop pragma to resolve the test failure: ld: (Warning) Potential unresolved symbol "main": shared library reference is resolved to non-expo