https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88413
--- Comment #9 from brennan at umanwizard dot com --- There is an open issue from Oct. 2017 on the ABI standard's official website (which is a Github repo): https://github.com/itanium-cxx-abi/cxx-abi/issues/38 It appears to be the exact thing we are seeing here. The person who opened that issue does think GCC's behavior, although wrong according to the standard, is better. However it doesn't seem to have gone anywhere since 10/2017 so I'm not sure whether they will in fact change the standard.