aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-05-03 12:03:02 +0200
committerJakub Jelinek <jakub@redhat.com>2021-05-03 12:03:02 +0200
commit80bbb7ff83d81544b09820428bdd7db9f50fe362 (patch)
tree6f6e85360331d36de92133d1000673a6635a2d1f /libcpp
parent5f5e3854c9b2d0ca169ea201a7498646e0654e76 (diff)
downloadgcc-80bbb7ff83d81544b09820428bdd7db9f50fe362.zip
gcc-80bbb7ff83d81544b09820428bdd7db9f50fe362.tar.gz
gcc-80bbb7ff83d81544b09820428bdd7db9f50fe362.tar.bz2
tree-ssa-dse: Fix up go.test/test/fixedbugs/issue16095.go miscompilation [PR100382]
The new DCE code inside of tree DSE removes in -fnon-call-exceptions go code a load from NULL pointer the testcase relies on throwing an exception and so the test hangs. The following patch just repeats a check that e.g. tree-ssa-dce.c uses to prevent this. 2021-05-03 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/100382 * tree-ssa-dse.c: Include tree-eh.h. (dse_dom_walker::before_dom_children): Don't remove stmts if stmt_unremovable_because_of_non_call_eh_p is true.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions