PR c++/48909
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2011 21:57:49 +0000 (21:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2011 21:57:49 +0000 (21:57 +0000)
commit251c88b3f85fec73d1854072f274605e77b049cb
tree3146f151678ec1c497060f154a6f58336c8958ac
parent2349ea850e798ed2751d341287186a4560d14ef4
PR c++/48909
* semantics.c (cxx_eval_conditional_expression): Check
integer_zerop/onep instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173511 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-condition2.C [new file with mode: 0644]