]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/71145 (Alpha: Error: No lda !gpdisp!278 was found)
authorUros Bizjak <ubizjak@gmail.com>
Wed, 18 May 2016 19:53:16 +0000 (21:53 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 18 May 2016 19:53:16 +0000 (21:53 +0200)
PR target/71145
* config/alpha/alpha.md (trap): Add (use (reg:DI 29)).
(*exception_receiver_1): Return "#" for TARGET_EXPLICIT_RELOCS.

From-SVN: r236427

gcc/ChangeLog
gcc/config/alpha/alpha.md

index b17c08416482c25ece1e52da147adb8dd0308e4e..aa9655233afa023ce83404485e4a8dc35b258db7 100644 (file)
@@ -1,3 +1,9 @@
+2016-05-18  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/71145
+       * config/alpha/alpha.md (trap): Add (use (reg:DI 29)).
+       (*exception_receiver_1): Return "#" for TARGET_EXPLICIT_RELOCS.
+
 2016-05-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        Backport from mainline
index 3eabba2e3fc1be73456f5154a8671090b6895f3a..4fd69c5809b44c5a25d21de17163e8bcc809f6e5 100644 (file)
 
 ;; BUGCHK is documented common to OSF/1 and VMS PALcode.
 (define_insn "trap"
-  [(trap_if (const_int 1) (const_int 0))]
+  [(trap_if (const_int 1) (const_int 0))
+   (use (reg:DI 29))]
   ""
   "call_pal 0x81"
   [(set_attr "type" "callpal")])
   "TARGET_ABI_OSF"
 {
   if (TARGET_EXPLICIT_RELOCS)
-    return "ldah $29,0($26)\t\t!gpdisp!%*\;lda $29,0($29)\t\t!gpdisp!%*";
+    return "#";
   else
     return "ldgp $29,0($26)";
 }