2016-12-02  Uros Bizjak  <ubiz...@gmail.com>

    * config/alpha/alpha.md (exception_receiver): Copy
    alpha_gp_ave_rtx return value.

Bootstrapped and regression tested on alphaev68-linux-gnu, will commit soon.

Uros.
diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md
index 3e4594b..0ed29de 100644
--- a/gcc/config/alpha/alpha.md
+++ b/gcc/config/alpha/alpha.md
@@ -5142,7 +5142,7 @@
   "TARGET_ABI_OSF"
 {
   if (flag_reorder_blocks_and_partition)
-    operands[0] = alpha_gp_save_rtx ();
+    operands[0] = copy_rtx (alpha_gp_save_rtx ());
   else
     operands[0] = const0_rtx;
 })

Reply via email to