diff options
author | Richard Biener <rguenther@suse.de> | 2025-09-08 12:40:30 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2025-09-11 11:16:58 +0200 |
commit | e9c2a69fe6fe1a20f8ad7b37ecbb3877cd14c514 (patch) | |
tree | 2bbb85d70a954b4c3648746c3bc128d28e8c3636 /libjava/classpath | |
parent | 5c4f1313e753aeb6920a48c62c7c99ad36e1adae (diff) | |
download | gcc-e9c2a69fe6fe1a20f8ad7b37ecbb3877cd14c514.zip gcc-e9c2a69fe6fe1a20f8ad7b37ecbb3877cd14c514.tar.gz gcc-e9c2a69fe6fe1a20f8ad7b37ecbb3877cd14c514.tar.bz2 |
tree-optimization/121829 - bogus CFG with asm goto
When the vectorizer removes a forwarder created earlier by split_edge
it uses redirect_edge_pred for convenience and efficiency. That breaks
down when the edge split is originating from an asm goto as that is
a jump that needs adjustments from redirect_edge_and_branch. The
following factores a simple vect_remove_forwarder handling this
situation appropriately.
PR tree-optimization/121829
* cfgloopmanip.cc (create_preheader): Ensure we can insert
at the end of a preheader.
* gcc.dg/torture/pr121829.c: New testcase.
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions