https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70141
--- Comment #11 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to Alexander Kondratskiy from comment #10) > My issue is that this code was accepted since gcc 4.8 completely fine. > Unless there is a specific line in the standard that prevents this from > working, I don't understand how appealing to potential failures in other > compilers is a valid argument. The standard is available, e.g.: http://eel.is/c++draft/. You may ask on stackoverflow for pointers to the specific line. The burden of proof is on your side. If your testcase would be accepted by all compilers except gcc-6 then you have a valid case.