re PR c++/47570 ([C++0x] "one() >= 0" isn't constexpr for unsigned int, yet == and...
authorJason Merrill <jason@redhat.com>
Thu, 17 Mar 2011 02:36:04 +0000 (22:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 17 Mar 2011 02:36:04 +0000 (22:36 -0400)
commit3f7c74538130857eec303f1470673199ee7142d0
tree15fc49d06546fdf85ce0e2244a0eec39877ac3cb
parentab958d7c810c669f7f6ceafeaa886bc8a7f68d6a
re PR c++/47570 ([C++0x] "one() >= 0" isn't constexpr for unsigned int, yet == and > is.)

PR c++/47570
* semantics.c (cxx_eval_constant_expression) [COMPOUND_EXPR]: Don't
use the generic binary expression handling.

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