]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: skip pr118817 over unmet hostedlib needs
authorAlexandre Oliva <oliva@adacore.com>
Sun, 1 Feb 2026 07:36:00 +0000 (04:36 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Sun, 1 Feb 2026 08:36:22 +0000 (05:36 -0300)
commitf583d6aaed6794549b0163e35cd480ff60627acc
treeab2592c59d74d4291178c302bff5722ce087eb3d
parent465815ffe36ba8f71649d7a541a864ebeb05ff6e
testsuite: skip pr118817 over unmet hostedlib needs

The test for -shared support doesn't fail on riscv64-elf, unlike other
barebones targets including riscv32-elf (testing with -fpic -shared
overflows HI20 relocs) that don't enable a hosted libstdc++.

This test thus got skipped on those other platforms, but we still
gave it a shot on riscv64-elf, and then it failed because libstdc++
doesn't have all the headers enabled that the test requires.

Require hostedlib.

for  gcc/testsuite/ChangeLog

* g++.dg/lto/pr118817_0.C: Require hostedlib.
gcc/testsuite/g++.dg/lto/pr118817_0.C