From: Kaz Kojima Date: Tue, 7 Jul 2015 20:39:28 +0000 (+0000) Subject: re PR target/66780 (Compiling with -fstack-protector-strong causes binary to segfault) X-Git-Tag: releases/gcc-4.9.4~713 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b85513055c82d163e87f3cf51dbbd4203257a4;p=thirdparty%2Fgcc.git 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: r225526 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 342ec1cf8d60..ba4137d36dab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2015-07-07 Kaz Kojima + + Backport form mainline + 2015-07-07 Kaz Kojima + + PR target/66780 + * config/sh/sh.md (symGOT_load): Revert a part of 2015-03-03 + change for target/65249. + 2015-07-05 Bill Schmidt Backport from mainline r224725 diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 382540156d75..488b6651e25d 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -10158,11 +10158,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 (stack_chk_guard_p && ! reload_in_progress && ! reload_completed) - operands[2] = gen_rtx_REG (Pmode, R0_REG); - if (TARGET_SHMEDIA) { rtx reg = operands[2];