]> git.ipfire.org Git - thirdparty/gcc.git/commit
function.c (stack_protect_epilogue): Pass label to stack_protect_test, assume it...
authorJakub Jelinek <jakub@redhat.com>
Thu, 30 Jun 2005 14:30:21 +0000 (16:30 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 Jun 2005 14:30:21 +0000 (16:30 +0200)
commit3aebbe5f49f9b9ccda66fc1eb907603e84813878
tree4043695a51d7d9562a87d61e43938fa5c73948dc
parent7d5175e1e494e0a514019347723b7afc34a459db
function.c (stack_protect_epilogue): Pass label to stack_protect_test, assume it emitted also the conditional branch.

* function.c (stack_protect_epilogue): Pass label to
stack_protect_test, assume it emitted also the conditional
branch.
* doc/md.texi (stack_protect_test): Adjust documentation.
* config/i386/i386.md (stack_protect_test): Add third argument,
emit beq with operands[2].
* config/rs6000/rs6000.h (FRAME_GROWS_DOWNWARD): Define to
flag_stack_protect != 0.
* config/rs6000/rs6000.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New
constants.
(stack_protect_set, stack_protect_test): New expanders.
(stack_protect_setsi, stack_protect_setdi, stack_protect_testsi,
stack_protect_testdi): New insns.
* config/rs6000/rs6000.c (rs6000_stack_protect_fail): New function.
(TARGET_STACK_PROTECT_FAIL): Define.
(rs6000_generate_compare): Handle UNSPEC_SP_TEST.

From-SVN: r101468
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md
gcc/doc/md.texi
gcc/function.c