re PR c++/47200 ([C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5821 with missin...
authorJason Merrill <jason@redhat.com>
Wed, 2 Mar 2011 18:18:31 +0000 (13:18 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 2 Mar 2011 18:18:31 +0000 (13:18 -0500)
commitc6f54c7aa725bb4bb8bb3af16cc49a855b3587ae
treeb6733e230013cc491b7cced2c8b8ccffb202e1cd
parentf158c8d0ed150a33356f17f9b8a80e1525a98263
re PR c++/47200 ([C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5821 with missing definition of constexpr function)

PR c++/47200
* semantics.c (cxx_bind_parameters_in_call): Don't call
adjust_temp_type on non-constant args.

From-SVN: r170620
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg2.C [new file with mode: 0644]