diff options
author | Jeff Law <law@redhat.com> | 2017-09-19 23:43:28 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2017-09-19 23:43:28 -0600 |
commit | ac9c032e4d7e6350c529707cedda7250b77190cc (patch) | |
tree | 926f3e77aacdcb0040c2b0731fb7dd61d5f8b7aa /gcc/reg-notes.def | |
parent | 8e7a09c353842f38c05b8cb171efa9784ab84862 (diff) | |
download | gcc-ac9c032e4d7e6350c529707cedda7250b77190cc.zip gcc-ac9c032e4d7e6350c529707cedda7250b77190cc.tar.gz gcc-ac9c032e4d7e6350c529707cedda7250b77190cc.tar.bz2 |
combine-stack-adj.c (combine_stack_adjustments_for_block): Do nothing for stack adjustments with REG_STACK_CHECK.
* combine-stack-adj.c (combine_stack_adjustments_for_block): Do
nothing for stack adjustments with REG_STACK_CHECK.
* sched-deps.c (parse_add_or_inc): Reject insns with
REG_STACK_CHECK from dependency breaking.
* config/i386/i386.c (pro_epilogue_adjust_stack): Return insn.
(ix86_adjust_satck_and_probe_stack_clash): Add REG_STACK_NOTEs.
* reg-notes.def (STACK_CHECK): New note.
* gcc.target/i386/stack-check-11.c: New test.
From-SVN: r252999
Diffstat (limited to 'gcc/reg-notes.def')
-rw-r--r-- | gcc/reg-notes.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/reg-notes.def b/gcc/reg-notes.def index 943eff4..a542990 100644 --- a/gcc/reg-notes.def +++ b/gcc/reg-notes.def @@ -224,6 +224,10 @@ REG_NOTE (ARGS_SIZE) pseudo reg. */ REG_NOTE (RETURNED) +/* Indicates the instruction is a stack check probe that should not + be combined with other stack adjustments. */ +REG_NOTE (STACK_CHECK) + /* Used to mark a call with the function decl called by the call. The decl might not be available in the call due to splitting of the call insn. This note is a SYMBOL_REF. */ |