Commit 3f445374 by Claudiu Zissulescu Committed by Claudiu Zissulescu

[ARC] Don't use deprecated align_labels_log variable.

2018-07-17  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.c (arc_label_align): Use alogn_labels instead of
	deprecated align_labels_log.

From-SVN: r262820
parent 3447025f
2018-07-17 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.c (arc_label_align): Use align_labels instead of
deprecated align_labels_log.
2018-07-17 Richard Biener <rguenther@suse.de> 2018-07-17 Richard Biener <rguenther@suse.de>
PR lto/86456 PR lto/86456
......
...@@ -9762,18 +9762,19 @@ arc_scheduling_not_expected (void) ...@@ -9762,18 +9762,19 @@ arc_scheduling_not_expected (void)
return cfun->machine->arc_reorg_started; return cfun->machine->arc_reorg_started;
} }
/* Code has a minimum p2 alignment of 1, which we must restore after
an ADDR_DIFF_VEC. */
int int
arc_label_align (rtx_insn *label) arc_label_align (rtx_insn *label)
{ {
/* Code has a minimum p2 alignment of 1, which we must restore after an if (align_labels.levels[0].log < 1)
ADDR_DIFF_VEC. */
if (align_labels_log < 1)
{ {
rtx_insn *next = next_nonnote_nondebug_insn (label); rtx_insn *next = next_nonnote_nondebug_insn (label);
if (INSN_P (next) && recog_memoized (next) >= 0) if (INSN_P (next) && recog_memoized (next) >= 0)
return 1; return 1;
} }
return align_labels_log; return align_labels.levels[0].log;
} }
/* Return true if LABEL is in executable code. */ /* Return true if LABEL is in executable code. */
......
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