Commit 4bb9c32d by Jakub Jelinek Committed by Jakub Jelinek

re PR regression/59923 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2239…

re PR regression/59923 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g)

	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
parent 7613fa50
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
......
......@@ -338,6 +338,10 @@ cond_exec_process_insns (ce_if_block *ce_info ATTRIBUTE_UNUSED,
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.
......
/* 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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment