re PR c++/58550 (][c++11] ICE with auto in function return type and lto)
authorJason Merrill <jason@redhat.com>
Fri, 24 Jan 2014 19:05:39 +0000 (14:05 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 24 Jan 2014 19:05:39 +0000 (14:05 -0500)
commit233aedf4c30248e5504afca2e421e22c3b33c96c
treef9d2ad06297869f82286090cc8d939703bd5f482
parent4bcfd75c0331c8e291316e5e1b7ee668479d60b1
re PR c++/58550 (][c++11] ICE with auto in function return type and lto)

PR c++/58550
* decl.c (grokdeclarator): Turn pedwarn about auto return type in
c++11 into error.

From-SVN: r207055
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/cpp0x/auto41.C [new file with mode: 0644]