[ARC] Fix millicode wrong blink restore.
authorClaudiu Zissulescu <claziss@synopsys.com>
Fri, 14 Dec 2018 10:42:44 +0000 (11:42 +0100)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Fri, 14 Dec 2018 10:42:44 +0000 (11:42 +0100)
commit544a4843e8873ce0dc08b2e1cde8978b15d23628
treeed668494e51fdf9310164b7f77c930b04c44e0e9
parentd77aa5cd5646600f316b260f068c45446ba1ee6b
[ARC] Fix millicode wrong blink restore.

The blink is restored wrongly when using millicode and regular load
instructions.

gcc/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.c (arc_restore_callee_milli) Don't clobber off
variable.

testsuite/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* gcc.target/arc/milli-1.c: New test.

From-SVN: r267129
gcc/ChangeLog
gcc/config/arc/arc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arc/milli-1.c [new file with mode: 0644]