diff options
| author | Richard Biener <rguenther@suse.de> | 2026-01-29 10:41:16 +0100 |
|---|---|---|
| committer | Richard Biener <rguenth@gcc.gnu.org> | 2026-01-29 12:37:47 +0100 |
| commit | 4c49f8e53698cce2fc93fb31cbd190c7ff3d04c4 (patch) | |
| tree | aa9ff270e9560ff73a998755fdd94926d1100902 /libjava/testsuite/libjava.lang/PR25535.java | |
| parent | 312ba8d740bb4302a038e11c45891addf0c7e9f9 (diff) | |
| download | gcc-4c49f8e53698cce2fc93fb31cbd190c7ff3d04c4.zip gcc-4c49f8e53698cce2fc93fb31cbd190c7ff3d04c4.tar.gz gcc-4c49f8e53698cce2fc93fb31cbd190c7ff3d04c4.tar.bz2 | |
tree-optimization/123596 - fix partial virtual SSA update in eh_cleanup
The following replaces the not quite correct use of
mark_virtual_operand_for_renaming by an appropriate way of dealing
with a possibly partially up-to-date virtual SSA form. Namely
when we just move stmts and not remove a VDEF we should arrange
for missing virtual PHIs to be created and just queue its arguments
for possible renaming. For the testcase at hand there's no renaming
necessary in the end when done this way.
PR tree-optimization/123596
* tree-eh.cc (sink_clobbers): Create a virtual PHI when
one is required but not present, queuing arguments
for renaming.
* g++.dg/torture/pr123596.C: New testcase.
Diffstat (limited to 'libjava/testsuite/libjava.lang/PR25535.java')
0 files changed, 0 insertions, 0 deletions
