https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772
--- Comment #46 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #44 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > Rainer, for pr80334.C, have you been able to test the #c43 patch? I did: the test FAILs (SEGV) at -m32 -O0 only, same as for unmodified trunk. > As for TLS and alignment, to confirm it is a ld bug, can you try #c29 testcase > with all of gas + gld, gas + sunld and sunas + sunld (or perhaps just the > first > and last from these)? If gas + gld works and sunas + sunld don't, it would > confirm the sun ld bug. I get the same behaviour in all three cases: foo () returns an 8-byte aligned address.