https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62282
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Why is this marked as a regression btw? From what I can see, already G++ 4.3 behaved this way, and G++ 4.3 was the first release to support gnu_inline attribute in C++.