https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63265
--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Tue Nov 11 22:23:44 2014 New Revision: 217380 URL: https://gcc.gnu.org/viewcvs?rev=217380&root=gcc&view=rev Log: /cp 2014-11-11 Paolo Carlini <paolo.carl...@oracle.com> PR c++/63265 * pt.c (tsubst_copy_and_build, case COND_EXPR): Maybe fold to constant the condition. /testsuite 2014-11-11 Paolo Carlini <paolo.carl...@oracle.com> PR c++/63265 * g++.dg/cpp0x/constexpr-63265.C: New. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-63265.C Modified: branches/gcc-4_9-branch/gcc/cp/ChangeLog branches/gcc-4_9-branch/gcc/cp/pt.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog