PR target/50092
* config/i386/i386.c (assign_386_stack_local): Call validize_mem
on the result before returning it.
* gcc.dg/torture/pr50092.c: New test.
From-SVN: r177859
2011-08-18 Jakub Jelinek <jakub@redhat.com>
+ PR target/50092
+ * config/i386/i386.c (assign_386_stack_local): Call validize_mem
+ on the result before returning it.
+
PR debug/50017
* tree-vect-stmts.c (vect_finish_stmt_generation): If gsi_stmt (*gsi)
is a debug stmt, use location of the first non-debug stmt after it.
for (s = ix86_stack_locals; s; s = s->next)
if (s->mode == mode && s->n == n)
- return copy_rtx (s->rtl);
+ return validize_mem (copy_rtx (s->rtl));
s = ggc_alloc_stack_local_entry ();
s->n = n;
s->next = ix86_stack_locals;
ix86_stack_locals = s;
- return s->rtl;
+ return validize_mem (s->rtl);
}
\f
/* Calculate the length of the memory address in the instruction encoding.
+2011-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/50092
+ * gcc.dg/torture/pr50092.c: New test.
+
2011-08-18 Tobias Burnus <burnus@net-b.de>
PR fortran/50109
--- /dev/null
+/* PR target/50092 */
+/* { dg-do compile { target lp64 } } */
+
+volatile int v;
+
+void bar (long double);
+void baz (_Complex long double *);
+
+void
+foo (void)
+{
+ _Complex long double w[100000000];
+ bar ((long double) v / 2147483648.0);
+ baz (w);
+}