]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/61545 (Miscompilation in libcap-ng)
authorRichard Henderson <rth@redhat.com>
Wed, 18 Jun 2014 14:38:56 +0000 (07:38 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 18 Jun 2014 14:38:56 +0000 (07:38 -0700)
PR target/61545

* config/aarch64/aarch64.md (tlsdesc_small): Clobber CC_REGNUM.

From-SVN: r211787

gcc/ChangeLog
gcc/config/aarch64/aarch64.md

index 98406feb6ee4bfd71075dd68a5ec9931dd589625..0652ed5f3c6512c3c54c3c79ed3ab60fb538cb4d 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-18  Richard Henderson  <rth@redhat.com>
+
+       PR target/61545
+       * config/aarch64/aarch64.md (tlsdesc_small): Clobber CC_REGNUM.
+
 2014-06-17  Nagaraju Mekala <nagaraju.mekala@xilinx.com>
 
        Revert on gcc-4_8-branch.
index c5cfedb8fa5c639df4959e1d4384c8a02a285bd5..c879024ebf686910381d98780baeb3c5fc66cc1f 100644 (file)
         (unspec:DI [(match_operand:DI 0 "aarch64_valid_symref" "S")]
                   UNSPEC_TLSDESC))
    (clobber (reg:DI LR_REGNUM))
+   (clobber (reg:CC CC_REGNUM))
    (clobber (match_scratch:DI 1 "=r"))]
   "TARGET_TLS_DESC"
   "adrp\\tx0, %A0\;ldr\\t%1, [x0, #%L0]\;add\\tx0, x0, %L0\;.tlsdesccall\\t%0\;blr\\t%1"