re PR c++/43321 ([c++0x] ICE on valid auto)
authorJason Merrill <jason@redhat.com>
Mon, 20 Jun 2011 14:39:53 +0000 (10:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 Jun 2011 14:39:53 +0000 (10:39 -0400)
commitd84572a4009158fe24931e2f8d8a7aa496d8a570
treeddd46f42a2c74e5fd3e577ca9e425f8c61baaaf8
parent4b7d9ed4a8e049e777252718c4cddb85fece7cde
re PR c++/43321 ([c++0x] ICE on valid auto)

PR c++/43321
* semantics.c (describable_type): Remove.
* cp-tree.h: Likewise.
* decl.c (cp_finish_decl): Don't call it.
* init.c (build_new): Likewise.
* parser.c (cp_parser_omp_for_loop): Likewise.
* pt.c (tsubst_decl): Likewise.
(do_auto_deduction): If we fail in a template, try again
at instantiation time.

From-SVN: r175212
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/auto26.C [new file with mode: 0644]