aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2022-03-24 10:02:27 -0300
committerAlexandre Oliva <oliva@gnu.org>2022-03-24 10:02:27 -0300
commitb8c4171ebd72079e55aceadbcfc883f517cdf895 (patch)
tree858d5d1021ab843e7cfc4fdfda75b0546d16fd1e /gcc/cp
parent11fb784ac592567dbcb7874c27e67ee0feb8fbf0 (diff)
downloadgcc-b8c4171ebd72079e55aceadbcfc883f517cdf895.zip
gcc-b8c4171ebd72079e55aceadbcfc883f517cdf895.tar.gz
gcc-b8c4171ebd72079e55aceadbcfc883f517cdf895.tar.bz2
hardcmp: split before dispatch edge
If we harden a compare at the end of a block with an edge to the abnormal dispatch block, it won't have a single successor. Arrange to split the block at its final stmt so as to have a single succ. for gcc/ChangeLog PR middle-end/104975 * gimple-harden-conditionals.cc (pass_harden_compares::execute): Force split in case of multiple edges. for gcc/testsuite/ChangeLog PR middle-end/104975 * gcc.dg/pr104975.c: New.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions