This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r214594 - in /trunk/gcc: ChangeLog final.c
- From: dmalcolm at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 27 Aug 2014 20:04:14 -0000
- Subject: r214594 - in /trunk/gcc: ChangeLog final.c
Author: dmalcolm
Date: Wed Aug 27 20:04:14 2014
New Revision: 214594
URL: https://gcc.gnu.org/viewcvs?rev=214594&root=gcc&view=rev
Log:
final.c: Use rtx_sequence
gcc/
2014-08-27 David Malcolm <dmalcolm@redhat.com>
* final.c (get_attr_length_1): Replace GET_CODE check with a
dyn_cast, introducing local "seq" and the use of methods of
rtx_sequence.
(shorten_branches): Likewise, introducing local "body_seq".
Strengthen local "inner_insn" from rtx to rtx_insn *.
(reemit_insn_block_notes): Replace GET_CODE check with a
dyn_cast, strengthening local "body" from rtx to rtx_sequence *.
Use methods of rtx_sequence.
(final_scan_insn): Likewise, introducing local "seq" for when
"body" is known to be a SEQUENCE, using its methods.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/final.c