diff options
author | Richard Biener <rguenther@suse.de> | 2022-09-07 12:50:40 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-09-07 13:51:19 +0200 |
commit | a262f969d6fd936f4fb5d9e1d5756b0dcbc925b2 (patch) | |
tree | 3d107e3e9889c1f142b00d5d509deee804858243 /libcpp/include/cpplib.h | |
parent | 04bb15e48ef8dd3d6a5ff30723c603cef3e0a3c6 (diff) | |
download | gcc-a262f969d6fd936f4fb5d9e1d5756b0dcbc925b2.zip gcc-a262f969d6fd936f4fb5d9e1d5756b0dcbc925b2.tar.gz gcc-a262f969d6fd936f4fb5d9e1d5756b0dcbc925b2.tar.bz2 |
tree-optimization/106866 - avoid dead abnormal edges from DCE
When DCE clears cfun->calls_setjmp then suddenly we don't need
any abnormal call edges anymore. The following makes sure to
prune them which otherwise can confuse other passes.
PR tree-optimization/106866
* tree-ssa-dce.cc (eliminate_unnecessary_stmts): When
we changed cfun->calls_setjmp make sure to purge all
abnormal call edges.
* gcc.dg/uninit-pr106866.c: New testcase.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions