aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-26 19:20:16 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-26 19:20:16 +0000
commit0926539cb17fcfc1e35ff9c0026fcce6ee9cbc9a (patch)
tree58b485026a928d9acd78535ac23a2ccb7b7078c2 /gcc/function.h
parent9152e0aa1b60461c043c189307d2b913279f0646 (diff)
downloadgcc-0926539cb17fcfc1e35ff9c0026fcce6ee9cbc9a.zip
gcc-0926539cb17fcfc1e35ff9c0026fcce6ee9cbc9a.tar.gz
gcc-0926539cb17fcfc1e35ff9c0026fcce6ee9cbc9a.tar.bz2
Strengthen fields in struct sequence_stack and struct emit_status
gcc/ 2014-08-26 David Malcolm <dmalcolm@redhat.com> * function.h (struct sequence_stack): Strengthen fields "first" and "last" from rtx to rtx_insn *. (struct emit_status): Likewise for fields "x_first_insn" and "x_last_insn". * emit-rtl.h (get_insns): Remove now-redundant checked cast. (set_first_insn): Add checked cast. (get_last_insn): Remove now-redundant checked cast. (set_last_insn): Add checked cast. * config/m32c/m32c.c (m32c_leaf_function_p): Strengthen locals "saved_first" and "saved_last" from rtx to rtx_insn *. From-SVN: r214537
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 14d1b2c..28a20f3 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -34,8 +34,8 @@ along with GCC; see the file COPYING3. If not see
struct GTY(()) sequence_stack {
/* First and last insns in the chain of the saved sequence. */
- rtx first;
- rtx last;
+ rtx_insn *first;
+ rtx_insn *last;
struct sequence_stack *next;
};
@@ -52,8 +52,8 @@ struct GTY(()) emit_status {
start_sequence saves both of these on `sequence_stack' and then starts
a new, nested sequence of insns. */
- rtx x_first_insn;
- rtx x_last_insn;
+ rtx_insn *x_first_insn;
+ rtx_insn *x_last_insn;
/* Stack of pending (incomplete) sequences saved by `start_sequence'.
Each element describes one pending sequence.