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
This commit is contained in:
Hans-Peter Nilsson 2013-12-23 23:12:09 +00:00 committed by Hans-Peter Nilsson
parent a13a866e54
commit c09c8f7054
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
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.

View File

@ -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;