http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56177 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-04 10:26:52 UTC --- auto f (); auto f () { return 33; } is enough to reproduce it, ICEs also with -std=c++1y.