[PATCH] Fix g++.dg/opt/pr56999.C
John David Anglin
dave.anglin@bell.net
Mon Mar 24 02:42:00 GMT 2014
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-exported definition in file "/var/tmp//
ccUra9KR.o". FAIL: g++.dg/opt/pr56999.C -std=gnu++98 (test for excess
errors)
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.
OK for trunk?
Dave
--
John David Anglin dave.anglin@bell.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr56999.C.d
Type: application/octet-stream
Size: 477 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140324/89641d73/attachment.obj>
More information about the Gcc-patches
mailing list