Simplification within reorg.c
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 5 Sep 2014 15:03:12 +0000 (15:03 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 5 Sep 2014 15:03:12 +0000 (15:03 +0000)
commit45700b6a428bafde0fae9b67dd494f3cac3d9bf0
tree78e89d9c20913bed55767228b2eb82d0c97720b6
parent96b7041496d08ec15ac4eec2632738023cfc7452
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".

From-SVN: r214969
gcc/ChangeLog
gcc/reorg.c