[Patch] Fix spurious warning in ccmp.c

2016-01-19  Wilco Dijkstra  <wdijkstr@arm.com>

	* ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.

From-SVN: r232576
This commit is contained in:
Wilco Dijkstra 2016-01-19 18:02:48 +00:00 committed by Jiong Wang
parent 7596d5de93
commit a88d10cb99
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
* ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
PR ipa/66223

View File

@ -170,7 +170,7 @@ expand_ccmp_expr_1 (gimple *g, rtx *prep_seq, rtx *gen_seq)
int unsignedp0, unsignedp1;
rtx_code rcode0, rcode1;
int speed_p = optimize_insn_for_speed_p ();
rtx tmp2, ret, ret2;
rtx tmp2, ret = NULL_RTX, ret2 = NULL_RTX;
unsigned cost1 = MAX_COST;
unsigned cost2 = MAX_COST;