[Bug c++/51416] [c++0x] [4.6/4.7 Regression] ICE with invalid use of auto

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 17 14:24:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51416

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-17 13:52:06 UTC ---
Author: jason
Date: Sat Dec 17 13:52:02 2011
New Revision: 182436

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182436
Log:
    PR c++/51416
    * init.c (build_value_init_noctor): Check for incomplete type.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/auto31.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/init.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/variadic103.C



More information about the Gcc-bugs mailing list