Commit c09c8f70 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

re PR target/59203 (config/cris/cris.c:2491: possible typo ?)

	PR target/59203
	* config/cris/cris.c (cris_pic_symbol_type_of): Fix typo,
	checking t1 twice instead of t1 and t2 respectively.

From-SVN: r206188
parent a13a866e
2013-12-23 Hans-Peter Nilsson <hp@axis.com>
PR target/59203
* config/cris/cris.c (cris_pic_symbol_type_of): Fix typo,
checking t1 twice instead of t1 and t2 respectively.
PR middle-end/59584
* config/cris/predicates.md (cris_nonsp_register_operand):
New define_predicate.
......@@ -2493,7 +2493,7 @@ cris_pic_symbol_type_of (const_rtx x)
gcc_assert (t1 == cris_no_symbol || t2 == cris_no_symbol);
if (t1 == cris_got_symbol || t1 == cris_got_symbol)
if (t1 == cris_got_symbol || t2 == cris_got_symbol)
return cris_got_symbol_needing_fixup;
return t1 != cris_no_symbol ? t1 : t2;
......
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