diff options
| author | Richard Biener <rguenther@suse.de> | 2025-11-13 13:40:27 +0100 |
|---|---|---|
| committer | Richard Biener <rguenther@suse.de> | 2025-11-14 13:05:29 +0100 |
| commit | c72520421033d2597496ff05c3ccbec8c505d549 (patch) | |
| tree | 147ddc1cf01480884a79d1a5f256262cafae96f0 /libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java | |
| parent | 71004c2414337bd781e1221acbcca2031bb6b614 (diff) | |
ipa/122663 - fix ICE with stmt removal during IPA modification
We currently remove stmts inside of a FOR_EACH_IMM_USE_STMT iteration
which can be problematical. The following adjusts purge_all_uses
to gather all stmts to remove and remove them in reverse order
afterwards which also better deals with debug stmt generation.
PR ipa/122663
* ipa-param-manipulation.cc (purge_all_uses): Collect
stmts to remove and process that list in reverse.
* g++.dg/torture/pr122663.C: New testcase.
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java')
0 files changed, 0 insertions, 0 deletions
