This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r189677 - in /trunk/gcc: cp/ChangeLog cp/call.c...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 19 Jul 2012 20:02:09 -0000
- Subject: r189677 - in /trunk/gcc: cp/ChangeLog cp/call.c...
Author: jason
Date: Thu Jul 19 20:02:08 2012
New Revision: 189677
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189677
Log:
PR c++/54021
* call.c (build_cxx_call): Set optimize when folding
__builtin_constant_p in a constexpr function.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-builtin2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog