tree offexp = d_array_length (result);
offexp = build2 (MINUS_EXPR, TREE_TYPE (offexp),
offexp, size_one_node);
- offexp = d_save_expr (offexp);
tree ptrexp = d_array_ptr (result);
ptrexp = void_okay_p (ptrexp);
tree t2 = build_expr (e->e2);
tree expr = stabilize_expr (&t2);
- t2 = d_save_expr (t2);
result = modify_expr (build_deref (ptrexp), t2);
- result = compound_expr (t2, result);
this->result_ = compound_expr (expr, result);
}
--- /dev/null
+// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96924
+// { dg-do compile }
+
+struct Memo
+{
+ string source;
+ this(this);
+}
+
+void compile(string src, size_t end)
+{
+ Memo[] stack;
+ stack ~= Memo(src[end .. $]);
+}
+++ /dev/null
-// https://issues.dlang.org/show_bug.cgi?id=13927
-// { dg-additional-options "-mavx" { target avx_runtime } }
-// { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }
-import core.simd;
-
-alias double8 = __vector(double[8]);
-
-void test13927(double8 a)
-{
- double8 b = [long.min, long.min, long.max, long.max];
- auto tmp = a - b;
-}