PR target/59923
* ifcvt.c (cond_exec_process_insns): Don't conditionalize
frame related instructions.
* gcc.target/arm/pr59923.c: New test.
From-SVN: r207324
+2014-01-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/59923
+ * ifcvt.c (cond_exec_process_insns): Don't conditionalize
+ frame related instructions.
+
2014-01-30 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/59959
gcc_assert (NONJUMP_INSN_P (insn) || CALL_P (insn));
+ /* dwarf2out can't coope with conditional unwind info. */
+ if (RTX_FRAME_RELATED_P (insn))
+ return FALSE;
+
/* Remove USE insns that get in the way. */
if (reload_completed && GET_CODE (PATTERN (insn)) == USE)
{
+2014-01-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/59923
+ * gcc.target/arm/pr59923.c: New test.
+
2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gcc.dg/vmx/splat.c: New.
--- /dev/null
+/* PR target/59923 */
+/* { dg-do compile } */
+/* { dg-require-effective-target arm_thumb2_ok } */
+/* { dg-options "-O2 -mcpu=cortex-a15 -fno-strict-aliasing -mthumb -g" } */
+
+struct S
+{
+ void *s;
+ struct T { unsigned short a; unsigned char b[4], c[4]; } *t;
+} s;
+void bar (void *);
+
+void
+foo (struct S *x, int *y)
+{
+ if (*y > 0)
+ return;
+ else if (x->t->b[0] == 0x43 && x->t->b[1] == 0x6d && x->t->c[0] == 1)
+ x->s = &s;
+ else
+ *y = 16384;
+ if (*y > 0)
+ bar (x);
+}