]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/init.cc
re PR c++/48015 ([C++0x] ICE: unexpected expression 'std::min' of kind overload)
authorJason Merrill <jason@redhat.com>
Tue, 8 Mar 2011 05:28:02 +0000 (00:28 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 8 Mar 2011 05:28:02 +0000 (00:28 -0500)
commit8152661be6564d7369d88e32dded29641183b248
treec05554a298821a6a5993daaccb505a0eeb18bf3f
parent7ff9af9bd6698d3e63dba6d6200280c177bd5d5a
re PR c++/48015 ([C++0x] ICE: unexpected expression 'std::min' of kind overload)

PR c++/48015
* init.c (constant_value_1): Always require init to be TREE_CONSTANT.

From-SVN: r170770
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/regress/non-const1.C [new file with mode: 0644]