aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/logic.cc3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 647b3e6..04d6aa0 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2016-08-11 Jason Merrill <jason@redhat.com>
+
+ PR c++/73456
+ * logic.cc (non_atomic_constraint_p): Handle EXPR_PACK_EXPANSION.
+
2016-08-10 Jason Merrill <jason@redhat.com>
Implement C++17 constexpr if.
diff --git a/gcc/cp/logic.cc b/gcc/cp/logic.cc
index dda98df..b86e740 100644
--- a/gcc/cp/logic.cc
+++ b/gcc/cp/logic.cc
@@ -305,6 +305,9 @@ non_atomic_constraint_p (tree t)
case ICONV_CONSTR:
case DEDUCT_CONSTR:
case EXCEPT_CONSTR:
+ /* A pack expansion isn't atomic, but it can't decompose to prove an
+ atom, so it shouldn't cause analyze_atom to return undecided. */
+ case EXPR_PACK_EXPANSION:
return false;
case CHECK_CONSTR:
case PARM_CONSTR: