re PR target/92841 (Optimize -fstack-protector-strong code generation a bit)
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Dec 2019 20:40:01 +0000 (21:40 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 Dec 2019 20:40:01 +0000 (21:40 +0100)
commit7c32b0d5ccd3dcd0358f4fa2207713754b768649
tree14f941ea3662b18523571ab54307897d8492ed32
parent7ec85098eb6e1660ee62aca3483112afbebded1e
re PR target/92841 (Optimize -fstack-protector-strong code generation a bit)

PR target/92841
* config/i386/i386.md (@stack_protect_set_1_<mode>,
@stack_protect_test_1_<mode>): Use output_asm_insn.
(*stack_protect_set_2_<mode>, *stack_protect_set_3): New define_insns
and corresponding define_peephole2s.

* gcc.target/i386/pr92841.c: New test.

From-SVN: r279468
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr92841.c [new file with mode: 0644]