https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82021
--- Comment #2 from Carl Cook <carl.cook at gmail dot com> --- Thanks Marc, that was it. I'd tried with no std=X flags, and std=c+=11. Definitely a DUP. I didn't find any related bug reports when skimming through bugzilla, but that's probably just my fault. Incidentally, if you have a sha of the commit(s) that fixed this, please let me know, I'd be interested in taking a look.