+2019-08-26 Marek Polacek <polacek@redhat.com>
+
+ PR c++/91545 - ICE in constexpr store evaluation.
+ * constexpr.c (cxx_eval_store_expression): Check FIELD_DECL instead
+ of DECL_P.
+
2019-08-24 Nathan Sidwell <nathan@acm.org>
* class.c (check_for_overrides): Conversion operators need
{
tree ob = TREE_OPERAND (probe, 0);
tree elt = TREE_OPERAND (probe, 1);
- if (DECL_P (elt) && DECL_MUTABLE_P (elt))
+ if (TREE_CODE (elt) == FIELD_DECL && DECL_MUTABLE_P (elt))
mutable_p = true;
if (evaluated
&& modifying_const_object_p (TREE_CODE (t), probe, mutable_p)
+2019-08-26 Marek Polacek <polacek@redhat.com>
+
+ PR c++/91545 - ICE in constexpr store evaluation.
+ * g++.dg/cpp0x/pr91545.C: New test.
+
2019-08-26 Tejas Joshi <tejasjoshi9673@gmail.com>
* gcc.target/i386/sse4_1-round-roundeven-1.c: New test.
2019-08-26 Tejas Joshi <tejasjoshi9673@gmail.com>
- * gcc.dg/torture/builtin-round-roundeven.c: New test.
- * gcc.dg/torture/builtin-round-roundevenf128.c: Likewise.
+ * gcc.dg/torture/builtin-round-roundeven.c: New test.
+ * gcc.dg/torture/builtin-round-roundevenf128.c: Likewise.
2019-08-26 Robin Dapp <rdapp@linux.ibm.com>
--- /dev/null
+// PR c++/91545
+// { dg-do compile { target c++11 } }
+
+long a[1];
+int d, e { d && (a[d] = 0) };