diff options
| author | Richard Biener <rguenther@suse.de> | 2026-01-29 08:47:44 +0100 |
|---|---|---|
| committer | Richard Biener <rguenth@gcc.gnu.org> | 2026-01-29 12:37:47 +0100 |
| commit | 312ba8d740bb4302a038e11c45891addf0c7e9f9 (patch) | |
| tree | b8f3c4ade66ad03c86e49b7eb9cc1996404c6801 /libjava/testsuite/libjava.lang/PR25535.java | |
| parent | 4f2a04726b97a79f5c0cdb4af8e589aebefea7ef (diff) | |
| download | gcc-312ba8d740bb4302a038e11c45891addf0c7e9f9.zip gcc-312ba8d740bb4302a038e11c45891addf0c7e9f9.tar.gz gcc-312ba8d740bb4302a038e11c45891addf0c7e9f9.tar.bz2 | |
tree-optimization/116747 - ICE in cselim due to duplicate sinking
The following avoids queueing duplicate stmts in the set of sinkings
to consider as well as pick candidates in an order that ensures
we don't unnecessarily re-order stores. While we currently only can
trigger the ICE with out-of-bound accesses future enhancements
to how we deal with dependence analysis in this pass could expose
the issue to a wider range of testcases, so this makes it future-proof.
PR tree-optimization/116747
* tree-ssa-phiopt.cc (cond_if_else_store_replacement): Avoid
duplicate stmts in the set of store pairs to process.
* gcc.dg/tree-ssa/cselim-4.c: New testcase.
Diffstat (limited to 'libjava/testsuite/libjava.lang/PR25535.java')
0 files changed, 0 insertions, 0 deletions
