diff options
author | Richard Biener <rguenther@suse.de> | 2023-03-23 15:50:59 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-03-23 16:35:12 +0100 |
commit | 25979b6761516b9039004385e08141e0925e1a17 (patch) | |
tree | 9e8c72b75c05bab9eeaceccd3012b28f7f6be87a /gcc/fold-const.cc | |
parent | c46b5b0a2c10139379a25b0071aa8997af41220d (diff) | |
download | gcc-25979b6761516b9039004385e08141e0925e1a17.zip gcc-25979b6761516b9039004385e08141e0925e1a17.tar.gz gcc-25979b6761516b9039004385e08141e0925e1a17.tar.bz2 |
tree-optimization/109262 - ICE with non-call EH and forwprop
The recent combining of complex part loads to a complex load missed
to account for non-call EH.
PR tree-optimization/109262
* tree-ssa-forwprop.cc (pass_forwprop::execute): When
combining a piecewise complex load avoid touching loads
that throw internally. Use fun, not cfun throughout.
* g++.dg/torture/pr109262.C: New testcase.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions