http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47504
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-29 14:24:24 UTC --- Author: jason Date: Tue Mar 29 14:24:19 2011 New Revision: 171664 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171664 Log: PR c++/47504 * semantics.c (cxx_eval_constant_expression) [NOP_EXPR]: Don't let the conversion set TREE_OVERFLOW. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-overflow2.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/semantics.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-data2.C