diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2023-10-24 11:30:53 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2023-10-24 11:30:52 +0100 |
commit | d0eb4aceaa93eabd6153853b22e0e8c843de4184 (patch) | |
tree | 3d526fbd46a6b2dacaf92cbba721187f580014e1 /gcc/tree-ssa-phiopt.cc | |
parent | c97b167e35774e5add4d1079b552383d3fea62dc (diff) | |
download | gcc-d0eb4aceaa93eabd6153853b22e0e8c843de4184.zip gcc-d0eb4aceaa93eabd6153853b22e0e8c843de4184.tar.gz gcc-d0eb4aceaa93eabd6153853b22e0e8c843de4184.tar.bz2 |
rtl-ssa: Don't insert after insns that can throw
rtl_ssa::can_insert_after didn't handle insns that can throw.
Fixing that avoids a regression with a later patch.
gcc/
* rtl-ssa.h: Include cfgbuild.h.
* rtl-ssa/movement.h (can_insert_after): Replace is_jump with the
more comprehensive control_flow_insn_p.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions