This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47200] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5821 with missing definition of constexpr function
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Mar 2011 18:18:37 +0000
- Subject: [Bug c++/47200] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5821 with missing definition of constexpr function
- Auto-submitted: auto-generated
- References: <bug-47200-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47200
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-02 18:18:35 UTC ---
Author: jason
Date: Wed Mar 2 18:18:31 2011
New Revision: 170620
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170620
Log:
PR c++/47200
* semantics.c (cxx_bind_parameters_in_call): Don't call
adjust_temp_type on non-constant args.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog