https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91000
--- Comment #2 from Federico Kircheis <federico.kircheis at gmail dot com> --- (In reply to Jonathan Wakely from comment #1) > This would be more appropriate on the gcc-help mailing list, as you're > asking a question not reporting a bug. > > The behaviour is as intended, for all -std versions. The standard was > changed to remove this feature and no other compilers implemented it anyway. Well I'm actually reporting a regression, since g++ is not c++11 and c++14 standard compliant and it's behaviour changed from previous versions. I've discovered through https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87603 that it was not by accident (I guess with dialect are meant the different c++ versions), but there is no motivation why the regression was introduced by design.