This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r171664 - in /branches/gcc-4_6-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2011 14:24:21 -0000
- Subject: r171664 - in /branches/gcc-4_6-branch/gcc: cp/C...
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