diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-13 01:10:33 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-13 01:10:33 +0000 |
commit | 41eb5a9a7774fffc98c7ea8b3fc4931014a5b612 (patch) | |
tree | 822331470b72b98a4cb0fef58c5c66070390a2c5 | |
parent | b833d386d643dd7c12efc042211b777d362dfe77 (diff) | |
download | gcc-41eb5a9a7774fffc98c7ea8b3fc4931014a5b612.tar.gz |
[Darwin,PPC] Back-port fix for PR71496.
gcc/
2016-12-13 Iain Sandoe <iain@codesourcery.com>
Backport from mainline
2016-12-11 Iain Sandoe <iain@codesourcery.com>
PR rtl-optimization/71496
* config/rs6000/darwin.md (load_macho_picbase_si): Mark as non-
copyable. (load_macho_picbase_di, reload_macho_picbase_si,
reload_macho_picbase_di): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@243590 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/config/rs6000/darwin.md | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3911e187ae3..09d10a02c76 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2016-12-13 Iain Sandoe <iain@codesourcery.com> + + Backport from mainline + 2016-12-11 Iain Sandoe <iain@codesourcery.com> + + PR rtl-optimization/71496 + * config/rs6000/darwin.md (load_macho_picbase_si): Mark as non- + copyable. (load_macho_picbase_di, reload_macho_picbase_si, + reload_macho_picbase_di): Likewise. + 2016-12-12 Bernd Schmidt <bschmidt@redhat.com> Backport from mainline diff --git a/gcc/config/rs6000/darwin.md b/gcc/config/rs6000/darwin.md index 57ce30e0cd1..bae8b2b6706 100644 --- a/gcc/config/rs6000/darwin.md +++ b/gcc/config/rs6000/darwin.md @@ -265,6 +265,7 @@ You should have received a copy of the GNU General Public License return "bcl 20,31,%0\\n%0:"; } [(set_attr "type" "branch") + (set_attr "cannot_copy" "yes") (set_attr "length" "4")]) (define_insn "load_macho_picbase_di" @@ -281,6 +282,7 @@ You should have received a copy of the GNU General Public License return "bcl 20,31,%0\\n%0:"; } [(set_attr "type" "branch") + (set_attr "cannot_copy" "yes") (set_attr "length" "4")]) (define_expand "macho_correct_pic" @@ -416,6 +418,7 @@ You should have received a copy of the GNU General Public License return "bcl 20,31,%0\\n%0:"; } [(set_attr "type" "branch") + (set_attr "cannot_copy" "yes") (set_attr "length" "4")]) (define_insn "reload_macho_picbase_di" @@ -439,6 +442,7 @@ You should have received a copy of the GNU General Public License return "bcl 20,31,%0\\n%0:"; } [(set_attr "type" "branch") + (set_attr "cannot_copy" "yes") (set_attr "length" "4")]) ;; We need to restore the PIC register, at the site of nonlocal label. |