Commit 0067bad
Paul Iannetta
kvx: fix -fchecking error with stack-limit-register=sr
Summary:
The code_label was floating above the `stack error' basic block.
gcc/ChangeLog:
* config/kvx/kvx-prologue-stack-limit.cc (kvx_prologue_stack_limit):
Proprely set BB_HEAD and BB_END; add a barrier at the end of
the basic block.
Test Plan: CI
Reviewers: bpriour, bddinechin, O11 gcc
Reviewed By: bpriour, bddinechin, O11 gcc
Differential Revision: https://phab.kalray.eu/D371481 parent 1fed32e commit 0067bad
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| 140 | + | |
| 141 | + | |
139 | 142 | | |
140 | 143 | | |
141 | 144 | | |
| |||
0 commit comments