From: Uros Bizjak Date: Wed, 18 May 2016 19:53:16 +0000 (+0200) Subject: re PR target/71145 (Alpha: Error: No lda !gpdisp!278 was found) X-Git-Tag: releases/gcc-4.9.4~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38cc518f2dd5a4db725a9a9f23994b82d154efae;p=thirdparty%2Fgcc.git re PR target/71145 (Alpha: Error: No lda !gpdisp!278 was found) PR target/71145 * config/alpha/alpha.md (trap): Add (use (reg:DI 29)). (*exception_receiver_1): Return "#" for TARGET_EXPLICIT_RELOCS. From-SVN: r236427 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b17c08416482..aa9655233afa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-05-18 Uros Bizjak + + 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 Backport from mainline diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 3eabba2e3fc1..4fd69c5809b4 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -3754,7 +3754,8 @@ ;; 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")]) @@ -5174,7 +5175,7 @@ "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)"; }