https://gcc.gnu.org/g:9b2bbe9104aef2e6bd9e8d7ace5fed3e2726f4d3
commit r17-5006-g9b2bbe9104aef2e6bd9e8d7ace5fed3e2726f4d3 Author: John David Anglin <[email protected]> Date: Thu Oct 8 16:42:56 2026 -0400 Skip some failing tests on hppa*-*-hpux* Most of these tests needs to be skipped because the target libm lacks full C99 or C11 support. pr46270.C fails because of a type width conflict. pr111019.C fails because libstdc++ doesn't export C4 unified constructor clones. fold-round-1.c fails because the target lacks hardware-native quad-precision folding routines. pr122515_0.c fails because the ar tool experiences pipe buffer deadlocks. crash-test-nested-ice.c and crash-test-nested-write-through-null.c fail because the target frontend exits early on syntax recovery errors. 2026-10-08 John David Anglin <[email protected]> gcc/testsuite/ChangeLog: * g++.dg/modules/compile-std1.C: Skip on hppa*-*-hpux*. * g++.dg/plugin/std-module-exports-c++20.C: Likewise. * g++.dg/plugin/std-module-exports-c++23.C: Likewise. * g++.dg/plugin/std-module-exports-c++26.C: Likewise. * g++.dg/plugin/std-module-exports-c++29.C: Likewise. * g++.dg/tm/pr46270.C: Likewise. * g++.dg/torture/pr111019.C: Likewise. * gcc.dg/fold-round-1.c: Likewise. * gcc.dg/lto/pr122515_0.c: Likewise. * gcc.dg/plugin/crash-test-nested-ice.c: Likewise. * gcc.dg/plugin/crash-test-nested-write-through-null.c: Likewise. libgomp/ChangeLog: * testsuite/libgomp.c++/target-std__cmath.C: Skip on hppa*-*-hpux*. libstdc++-v3/ChangeLog: * testsuite/26_numerics/headers/cmath/equivalent_functions.cc: Skip on hppa*-*-hpux*. * testsuite/26_numerics/headers/cmath/functions_std_c++17.cc: Likewise. Diff: --- gcc/testsuite/g++.dg/modules/compile-std1.C | 1 + gcc/testsuite/g++.dg/plugin/std-module-exports-c++20.C | 1 + gcc/testsuite/g++.dg/plugin/std-module-exports-c++23.C | 1 + gcc/testsuite/g++.dg/plugin/std-module-exports-c++26.C | 1 + gcc/testsuite/g++.dg/plugin/std-module-exports-c++29.C | 1 + gcc/testsuite/g++.dg/tm/pr46270.C | 1 + gcc/testsuite/g++.dg/torture/pr111019.C | 1 + gcc/testsuite/gcc.dg/fold-round-1.c | 1 + gcc/testsuite/gcc.dg/lto/pr122515_0.c | 1 + gcc/testsuite/gcc.dg/plugin/crash-test-nested-ice.c | 1 + gcc/testsuite/gcc.dg/plugin/crash-test-nested-write-through-null.c | 1 + libgomp/testsuite/libgomp.c++/target-std__cmath.C | 1 + libstdc++-v3/testsuite/26_numerics/headers/cmath/equivalent_functions.cc | 1 + libstdc++-v3/testsuite/26_numerics/headers/cmath/functions_std_c++17.cc | 1 + 14 files changed, 14 insertions(+) diff --git a/gcc/testsuite/g++.dg/modules/compile-std1.C b/gcc/testsuite/g++.dg/modules/compile-std1.C index 069ec32e8581..4ac0a64b1073 100644 --- a/gcc/testsuite/g++.dg/modules/compile-std1.C +++ b/gcc/testsuite/g++.dg/modules/compile-std1.C @@ -8,6 +8,7 @@ // { dg-module-cmi std } // { dg-module-cmi std.compat } // { dg-module-cmi <bits/stdc++.h> } +// { dg-skip-if "Target libm lacks full long double C99 support required by std module" { hppa*-*-hpux* } } import std; import std.compat; diff --git a/gcc/testsuite/g++.dg/plugin/std-module-exports-c++20.C b/gcc/testsuite/g++.dg/plugin/std-module-exports-c++20.C index 0640eeeb9953..d3b26fea834f 100644 --- a/gcc/testsuite/g++.dg/plugin/std-module-exports-c++20.C +++ b/gcc/testsuite/g++.dg/plugin/std-module-exports-c++20.C @@ -4,6 +4,7 @@ // names which aren't deprecated and are not exported. // { dg-do link } // { dg-options "-O0 -std=c++20 -fmodules -x c++-system-module bits/std.cc -x none" } +// { dg-skip-if "Target libm lacks standard C99/C11 mathematical types required by std module" { hppa*-*-hpux* } } int main () diff --git a/gcc/testsuite/g++.dg/plugin/std-module-exports-c++23.C b/gcc/testsuite/g++.dg/plugin/std-module-exports-c++23.C index d5745f16b118..d9cc22cbd7b6 100644 --- a/gcc/testsuite/g++.dg/plugin/std-module-exports-c++23.C +++ b/gcc/testsuite/g++.dg/plugin/std-module-exports-c++23.C @@ -4,6 +4,7 @@ // names which aren't deprecated and are not exported. // { dg-do link } // { dg-options "-O0 -std=c++23 -fmodules -x c++-system-module bits/std.cc -x none" } +// { dg-skip-if "Target libm lacks standard C99/C11 mathematical types required by std module" { hppa*-*-hpux* } } int main () diff --git a/gcc/testsuite/g++.dg/plugin/std-module-exports-c++26.C b/gcc/testsuite/g++.dg/plugin/std-module-exports-c++26.C index 7e8f5e2e4266..61a7323f94f7 100644 --- a/gcc/testsuite/g++.dg/plugin/std-module-exports-c++26.C +++ b/gcc/testsuite/g++.dg/plugin/std-module-exports-c++26.C @@ -4,6 +4,7 @@ // names which aren't deprecated and are not exported. // { dg-do link } // { dg-options "-O0 -std=c++26 -fmodules -freflection -fcontracts -x c++-system-module bits/std.cc -x none" } +// { dg-skip-if "Target libm lacks standard C99/C11 mathematical types required by std module" { hppa*-*-hpux* } } int main () diff --git a/gcc/testsuite/g++.dg/plugin/std-module-exports-c++29.C b/gcc/testsuite/g++.dg/plugin/std-module-exports-c++29.C index 79fa998b9c76..ce1b067fe33c 100644 --- a/gcc/testsuite/g++.dg/plugin/std-module-exports-c++29.C +++ b/gcc/testsuite/g++.dg/plugin/std-module-exports-c++29.C @@ -4,6 +4,7 @@ // names which aren't deprecated and are not exported. // { dg-do link } // { dg-options "-O0 -std=c++29 -fmodules -freflection -x c++-system-module bits/std.cc -x none" } +// { dg-skip-if "Target libm lacks standard C99/C11 mathematical types required by std module" { hppa*-*-hpux* } } int main () diff --git a/gcc/testsuite/g++.dg/tm/pr46270.C b/gcc/testsuite/g++.dg/tm/pr46270.C index 64ebb6bc5e65..e4116360ebe0 100644 --- a/gcc/testsuite/g++.dg/tm/pr46270.C +++ b/gcc/testsuite/g++.dg/tm/pr46270.C @@ -1,6 +1,7 @@ // { dg-do compile } // { dg-options "-fgnu-tm" } // { dg-skip-if "requires hosted libstdc++ for list" { ! hostedlib } } +// { dg-skip-if "hppa64 size_t type width conflicts with gnu-tm builtin allocation mappings" { hppa*64*-*-hpux* } } #include <list> class Game diff --git a/gcc/testsuite/g++.dg/torture/pr111019.C b/gcc/testsuite/g++.dg/torture/pr111019.C index 4903dc308b76..ed28bcdb8bf1 100644 --- a/gcc/testsuite/g++.dg/torture/pr111019.C +++ b/gcc/testsuite/g++.dg/torture/pr111019.C @@ -1,6 +1,7 @@ // { dg-do run } // { dg-additional-options "-fstrict-aliasing" } // { dg-skip-if "requires hosted libstdc++ for cassert" { ! hostedlib } } +// { dg-skip-if "HP-UX shared libstdc++ does not export C4 unified constructor clones under -Os" { hppa*-*-hpux* } { "-Os" } { "" } } #include <cassert> #include <memory> diff --git a/gcc/testsuite/gcc.dg/fold-round-1.c b/gcc/testsuite/gcc.dg/fold-round-1.c index 0d7f95429ac3..5badefe9c0b4 100644 --- a/gcc/testsuite/gcc.dg/fold-round-1.c +++ b/gcc/testsuite/gcc.dg/fold-round-1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-Ofast" } */ +/* { dg-skip-if "Target lacks hardware-native quad-precision folding routines" { hppa*-*-hpux* } } */ extern void link_error (void); diff --git a/gcc/testsuite/gcc.dg/lto/pr122515_0.c b/gcc/testsuite/gcc.dg/lto/pr122515_0.c index fb2fa8b8d82e..cd1660ff3f02 100644 --- a/gcc/testsuite/gcc.dg/lto/pr122515_0.c +++ b/gcc/testsuite/gcc.dg/lto/pr122515_0.c @@ -1,5 +1,6 @@ /* { dg-lto-do ar-link } */ /* { dg-lto-options { { -flto=auto -ffat-lto-objects } } } */ +/* { dg-skip-if "Target ar tool experiences pipe buffer deadlocks on multi-object LTO streams" { hppa*-*-hpux* } } */ extern int bar_7 (int); diff --git a/gcc/testsuite/gcc.dg/plugin/crash-test-nested-ice.c b/gcc/testsuite/gcc.dg/plugin/crash-test-nested-ice.c index db8bc2aecdb0..5a98813896fb 100644 --- a/gcc/testsuite/gcc.dg/plugin/crash-test-nested-ice.c +++ b/gcc/testsuite/gcc.dg/plugin/crash-test-nested-ice.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "Target frontend exits early on syntax recovery errors" { hppa*-*-hpux* } } */ /* { dg-additional-options "-fno-report-bug" } */ /* { dg-additional-options "-fplugin-arg-crash_test_plugin-nested" } */ /* { dg-additional-options "-fdiagnostics-add-output=sarif" } */ diff --git a/gcc/testsuite/gcc.dg/plugin/crash-test-nested-write-through-null.c b/gcc/testsuite/gcc.dg/plugin/crash-test-nested-write-through-null.c index bd6a21a83bfb..3f1277bff162 100644 --- a/gcc/testsuite/gcc.dg/plugin/crash-test-nested-write-through-null.c +++ b/gcc/testsuite/gcc.dg/plugin/crash-test-nested-write-through-null.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "Target frontend exits early on syntax recovery errors" { hppa*-*-hpux* } } */ /* { dg-additional-options "-fno-report-bug" } */ /* { dg-additional-options "-fplugin-arg-crash_test_plugin-nested" } */ /* { dg-additional-options "-fdiagnostics-add-output=sarif" } */ diff --git a/libgomp/testsuite/libgomp.c++/target-std__cmath.C b/libgomp/testsuite/libgomp.c++/target-std__cmath.C index 73f50bbcf2e4..b1f16229ef5d 100644 --- a/libgomp/testsuite/libgomp.c++/target-std__cmath.C +++ b/libgomp/testsuite/libgomp.c++/target-std__cmath.C @@ -1,6 +1,7 @@ // { dg-do run } // { dg-additional-options "-std=c++20" } // { dg-additional-options "-Wno-deprecated-openmp" } +// { dg-skip-if "Target libm lacks complete C99 math library" { hppa*-*-hpux* } } #include <cmath> #include <numbers> diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/equivalent_functions.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/equivalent_functions.cc index ffd1032a2e6b..3bbd25557b68 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/equivalent_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/equivalent_functions.cc @@ -16,6 +16,7 @@ // <http://www.gnu.org/licenses/>. // { dg-do run { target c++11 } } +// { dg-skip-if "Target libm lacks complete C99 math library" { hppa*-*-hpux* } } #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/functions_std_c++17.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/functions_std_c++17.cc index fd1266fe305b..4a65ca117203 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/functions_std_c++17.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/functions_std_c++17.cc @@ -16,6 +16,7 @@ // <http://www.gnu.org/licenses/>. // { dg-do compile { target c++17 } } +// { dg-skip-if "Target libm lacks complete C99 math library" { hppa*-*-hpux* } } #include <cmath>
