Commit f4701c96 by Trevor Saunders Committed by Trevor Saunders

use rtx_insn * as the type of a local variable in mode-switching.c

gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* mode-switching.c (commit_mode_sets): Change type of local
	variable from rtx to rtx_insn *.

From-SVN: r222935
parent 613aba20
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* mode-switching.c (commit_mode_sets): Change type of local
variable from rtx to rtx_insn *.
2015-05-08 Jim Wilson <jim.wilson@linaro.org> 2015-05-08 Jim Wilson <jim.wilson@linaro.org>
* doc/install.texi (--enable-languages): Add missing jit and lto info. * doc/install.texi (--enable-languages): Add missing jit and lto info.
......
...@@ -131,7 +131,7 @@ commit_mode_sets (struct edge_list *edge_list, int e, struct bb_info *info) ...@@ -131,7 +131,7 @@ commit_mode_sets (struct edge_list *edge_list, int e, struct bb_info *info)
HARD_REG_SET live_at_edge; HARD_REG_SET live_at_edge;
basic_block src_bb = eg->src; basic_block src_bb = eg->src;
int cur_mode = info[src_bb->index].mode_out; int cur_mode = info[src_bb->index].mode_out;
rtx mode_set; rtx_insn *mode_set;
REG_SET_TO_HARD_REG_SET (live_at_edge, df_get_live_out (src_bb)); REG_SET_TO_HARD_REG_SET (live_at_edge, df_get_live_out (src_bb));
...@@ -145,7 +145,7 @@ commit_mode_sets (struct edge_list *edge_list, int e, struct bb_info *info) ...@@ -145,7 +145,7 @@ commit_mode_sets (struct edge_list *edge_list, int e, struct bb_info *info)
default_rtl_profile (); default_rtl_profile ();
/* Do not bother to insert empty sequence. */ /* Do not bother to insert empty sequence. */
if (mode_set == NULL_RTX) if (mode_set == NULL)
continue; continue;
/* We should not get an abnormal edge here. */ /* We should not get an abnormal edge here. */
......
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