[ARC] Fix warning in arc_return_address_register.
authorClaudiu Zissulescu <claziss@synopsys.com>
Fri, 15 Jun 2018 11:22:10 +0000 (13:22 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Fri, 15 Jun 2018 11:22:10 +0000 (13:22 +0200)
commit738cb232062a3f44ac7ce751ec5c0c3c8abc33c7
tree82171e909c73d099ae3dd9666fd71bcbfc1b288f
parentfa6852317327d978d4069175952109505204f6ae
[ARC] Fix warning in arc_return_address_register.

The if condition in arc_return_address_register which selects the arc
return address is not correct. The issue is signalized in bugzilla 85968.

gcc/
2018-06-15  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.c (arc_return_address_register): Fix if-condition.

From-SVN: r261623
gcc/ChangeLog
gcc/config/arc/arc.c