This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r277988 - in /branches/gcc-9-branch/gcc: cp/Cha...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 08 Nov 2019 19:00:02 -0000
- Subject: r277988 - in /branches/gcc-9-branch/gcc: cp/Cha...
Author: jakub
Date: Fri Nov 8 19:00:02 2019
New Revision: 277988
URL: https://gcc.gnu.org/viewcvs?rev=277988&root=gcc&view=rev
Log:
Backported from mainline
2019-11-05 Jakub Jelinek <jakub@redhat.com>
PR c++/92343
* constexpr.c (potential_constant_expression_1): Return true rather
than false for PREDICT_EXPR.
* g++.dg/cpp2a/attr-likely6.C: New test.
Added:
branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp2a/attr-likely6.C
Modified:
branches/gcc-9-branch/gcc/cp/ChangeLog
branches/gcc-9-branch/gcc/cp/constexpr.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog