https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77790

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Prior to r185768 GCC in C++ 11 mode rejected auto functions without trailing
return type.  With r185768 GCC would accept it with a warning (enabled by
default).  r207055 changed the pedantic warning into an error.  In light of
this, should this bug be viewed as ice-on-invalid-code (error-recovery)?  Or is
it ice-on-valid because it broke in GCC 5 where the code was accepted in C++ 11
mode with just a warning?

Reply via email to