re PR lto/92674 (ICE in gimple_phi_arg, at gimple.h:4406 since r240291)
authorRichard Biener <rguenther@suse.de>
Wed, 27 Nov 2019 08:52:17 +0000 (08:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 27 Nov 2019 08:52:17 +0000 (08:52 +0000)
commitcd3f923b0d5c2cb087840db55a7578c9b363276b
tree0ba775dac13b28cb5e35145efaf3f9a05106f726
parentaf2f620578f46f09dba964ce5f739df0e61a595b
re PR lto/92674 (ICE in gimple_phi_arg, at gimple.h:4406 since r240291)

2019-11-27  Richard Biener  <rguenther@suse.de>

PR middle-end/92674
* tree-inline.c (expand_call_inline): Delay purging EH/abnormal
edges and instead record blocks in bitmap.
(gimple_expand_calls_inline): Adjust.
(fold_marked_statements): Delay EH cleanup until all folding is
done.
(optimize_inline_calls): Do EH/abnormal cleanup for calls after
inlining finished.

From-SVN: r278757
gcc/ChangeLog
gcc/tree-inline.c