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++/48015] [4.6 Regression] [C++0x] ICE: unexpected expression 'std::min' of kind overload


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-08 05:28:07 UTC ---
Author: jason
Date: Tue Mar  8 05:28:02 2011
New Revision: 170770

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170770
Log:
    PR c++/48015
    * init.c (constant_value_1): Always require init to be TREE_CONSTANT.

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