https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119862
--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #6 from Konstantinos Eleftheriou <konstantinos.eleftheriou at > vrull dot eu> --- > Hi Rainer, can you please test the attached patch? It works on both i386-pc-solaris2.11 and sparc-sun-solaris2.11. However, please please omit the Solaris reference: as you can seen in the PR, that's not a Solaris issue at all but a non-glibc one. It also affects at least HP-UX. It's not in pr78333.c where you took this from and not appropriate here. Besides, you still haven't explained why this needs to be an execution test instead of a compile test (which would avoid this issue in the first place).