Yeah, I should add all this to our Gerrit instance I suppose.
I have a tonne of environment related commits sitting in my local tree that I should really get merged upstream.
You've actually made me feel overwhelmingly lazy, because apparently I figured this out in at least
October of 2015 against gcc-4.9 (actually, lord only knows when I figured this out because at this point I apparently already had this in my local tree and knew it was an issue for modern gcc instances and what to do about it when another user hit the same issue - makes it somewhat worse I suppose...), we used slightly different approaches (-fgnu89-inline vs. -std=gnu89), but the end result is the same.
[Saint]