diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2015-07-07 12:29:16 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2015-07-07 12:29:16 +0000 |
commit | 186eb4cb4333f6ad6152905b7a4a7940cc867eb9 (patch) | |
tree | 1c8b54e6efe30104fb6b0af0c7479942480b676d /gcc | |
parent | 2005b056879571d188556c5696b7d80e87693e7f (diff) | |
download | gcc-186eb4cb4333f6ad6152905b7a4a7940cc867eb9.zip gcc-186eb4cb4333f6ad6152905b7a4a7940cc867eb9.tar.gz gcc-186eb4cb4333f6ad6152905b7a4a7940cc867eb9.tar.bz2 |
re PR target/66780 (Compiling with -fstack-protector-strong causes binary to segfault)
PR target/66780
* config/sh/sh.md (symGOT_load): Revert a part of 2015-03-03 change for target/65249.
From-SVN: r225512
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6dab8a1..988fce3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-07 Kaz Kojima <kkojima@gcc.gnu.org> + + PR target/66780 + * config/sh/sh.md (symGOT_load): Revert a part of 2015-03-03 + change for target/65249. + 2015-07-07 Paulo Matos <pmatos@broadcom.com> * symtab.c (address_matters_1): Fix typo in comment above. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 5c8d306..f0cb3cf 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -10751,12 +10751,6 @@ label: "__stack_chk_guard") == 0) stack_chk_guard_p = true; - /* Use R0 to avoid long R0 liveness which stack-protector tends to - produce. */ - if (! sh_lra_flag - && stack_chk_guard_p && ! reload_in_progress && ! reload_completed) - operands[2] = gen_rtx_REG (Pmode, R0_REG); - if (TARGET_SHMEDIA) { rtx reg = operands[2]; |