summaryrefslogtreecommitdiff
path: root/gcc/config/cris
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-23 23:12:09 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-23 23:12:09 +0000
commite444274665d31dc74823efc81646d96354558922 (patch)
tree4a5753b7bf00d72c908378399cfaffef610caf81 /gcc/config/cris
parentd2cbed01ceeb2357442d44c98bb9d2e68a545d8a (diff)
downloadgcc-e444274665d31dc74823efc81646d96354558922.tar.gz
PR target/59203
* config/cris/cris.c (cris_pic_symbol_type_of): Fix typo, checking t1 twice instead of t1 and t2 respectively. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206188 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/cris')
-rw-r--r--gcc/config/cris/cris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index 235b6c652cf..5e24c3fef4e 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -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;