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++/47199] [4.6 Regression] [C++0x] ICE: expected class 'type', have 'declaration' (function_decl) in same_type_ignoring_top_level_qualifiers_p, at cp/typeck.c:1407 with -fno-elide-constructors


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-02-21 05:26:01 UTC ---
Author: jason
Date: Mon Feb 21 05:25:56 2011
New Revision: 170356

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170356
Log:
    PR c++/47199
    * semantics.c (cxx_eval_call_expression): Call
    cxx_eval_constant_expression in trivial shortcut.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ctor7.C
Modified:
    trunk/gcc/cp/ChangeLog
    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]