Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave ---
hppa: Fix pr104869.C on hpux 2023-11-26 John David Anglin <dang...@gcc.gnu.org> gcc/testsuite/ChangeLog: * g++.dg/pr104869.C: Add attribute visibility default to main prototype. diff --git a/gcc/testsuite/g++.dg/pr104869.C b/gcc/testsuite/g++.dg/pr104869.C index 13a39fccdb9..851d65355de 100644 --- a/gcc/testsuite/g++.dg/pr104869.C +++ b/gcc/testsuite/g++.dg/pr104869.C @@ -69,7 +69,7 @@ struct ControlFlow { return false; } #ifdef __hpux__ -extern int main(void); +extern int main(void) __attribute__ ((visibility ("default"))); #endif int main() {
signature.asc
Description: PGP signature