https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85730
--- Comment #4 from Gabriel Ravier <gabravier at gmail dot com> --- That's a bit odd, really - I'm just using the latest released sub-versions of each of these (except for GCC 6 since I only have access to it through Godbolt which doesn't have GCC 6.5), i.e. GCC 6.4, 7.5, 8.5, 9.4, 10.3, 11.2 and trunk, I wouldn't expect it to impact this stuff that much. Though I do realize now I had messed up my comment slightly: when saying "GCC 7 also changed bar and baz's code generation" I meant "foo and baz's code generation".