This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/47208] [4.6 Regression] [C++0x] ICE: in decl_constant_var_p, at cp/decl2.c:3563 with missing #include <initializer_list>


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

--- Comment #2 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-02-18 08:48:00 UTC ---
Author: dodji
Date: Fri Feb 18 08:47:56 2011
New Revision: 170268

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170268
Log:
PR c++/47208

gcc/cp/

    PR c++/47208
    * pt.c (do_auto_deduction): Do not mention error_mark_node in
    diagnostics.
    * semantics.c (finish_id_expression): Do not pass erroneous decl
    to decl_constant_var_p.

gcc/testsuite/

    PR c++/47208
    * g++.dg/cpp0x/auto21.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/auto21.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]