Commit ad5618b3 authored by rth's avatar rth
Browse files

PR debug/49827

        * dwarf2cfi.c (create_trace_edges): Handle sequences properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176728 138bc75d-0d04-0410-961f-82ee72b054a4
parent eb656671
2011-07-24 Richard Henderson <rth@redhat.com>
PR debug/49827
* dwarf2cfi.c (create_trace_edges): Handle sequences properly.
2011-07-24 Richard Henderson <rth@redhat.com>
 
* dwarf2cfi.c (maybe_record_trace_start): Add abnormal parameter.
......
......@@ -2507,6 +2507,14 @@ create_trace_edges (rtx insn)
for (lab = nonlocal_goto_handler_labels; lab; lab = XEXP (lab, 1))
maybe_record_trace_start (XEXP (lab, 0), insn, true);
}
else if (GET_CODE (PATTERN (insn)) == SEQUENCE)
{
rtx seq = PATTERN (insn);
int i, n = XVECLEN (seq, 0);
for (i = 0; i < n; ++i)
create_trace_edges (XVECEXP (seq, 0, i));
return;
}
/* Process EH edges. */
if (CALL_P (insn) || cfun->can_throw_non_call_exceptions)
......
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