https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172
--- Comment #27 from Gubbins <dave.gittins at gmail dot com> --- > Dave, the fix for PR 86138 might also fix this case for Darwin - could you > check that please? I can confirm that using my homebrew-installed gcc 8.2.0 package on OSX, the issue no longer occurs. I don't know if the change made for PR 86138 is responsible but I believe 8.2.0 was the first release to include it.