public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, alpha]: Fix invalid RTX sharing
@ 2016-12-02  9:15 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2016-12-02  9:15 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

2016-12-02  Uros Bizjak  <ubizjak@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.

[-- Attachment #2: a.diff.txt --]
[-- Type: text/plain, Size: 384 bytes --]

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;
 })

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-02  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-02  9:15 [PATCH, alpha]: Fix invalid RTX sharing Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).