Simplification within reorg.c
commitd77c5bc0de6cd05c6d86571605556d99fb7e2371
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2014 15:03:12 +0000 (5 15:03 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2014 15:03:12 +0000 (5 15:03 +0000)
tree78e89d9c20913bed55767228b2eb82d0c97720b6
parent5dede39b4a2f4a81990d85350c3e668dda252229
Simplification within reorg.c

gcc/ChangeLog:
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* reorg.c (relax_delay_slots): Move declaration of "trial_seq"
above the conditional, and convert the check on GET_CODE to a
dyn_cast, so that "trial_seq" is available as an rtx_sequence * in
the conditional.  Simplify the conditional by using methods of
"trial_seq".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214969 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/reorg.c