https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977
--- Comment #7 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to ibuclaw from comment #6) > There's r13-1113 with introduced the use of visible(). > > Can't see anything odd about the virtual function declaration that would > suggest there's a mismatch between C++/D. > > It does return a struct though. Is there maybe something special done in > the way structs are returned on 32-bit OSX that doesn't occur on 32-bit > Linux? Well, I can re-check (there _are_ some differences between x86 Darwin / Linux, where x86_64 is supposed to be the same). - but is that not the province of the middle & back-ends? why would it make any difference what the FE language does? > I could also just revert to accessing the underlying `->visibility` field > directly, if it really is just that function call that's problematic. We cannot really tell, since the build does not get beyond stage1 - so that we're nowhere near running the testsuite. This was on Darwin17, for reference - so the most modern supported 32b case.