https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81058
--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #5) > Created attachment 46210 [details] > Patch for testing > > Darwin doesn't support non-pic for user-space programs, so these tests fail > (and the codeine is sufficiently different that it would be better to write > a second set of tests if that is seen as useful). {aside, why is there no > PIC test for Linux, I guess?] > > There is "dynamic-no-pic" for m32 but it doesn't seem worth jumping through > hoops to make a test case for that, since it's not realistically going to be > used on a machine supporting AVX512. there could be a better solution here - remove the need for indirection [Darwin indirects common accesses] (and hence the change in codegen). /* { dg-additional-options "-fno-common" { target *-*-darwin* } } */