diff options
author | Richard Biener <rguenther@suse.de> | 2022-05-17 17:18:06 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-05-17 17:53:46 +0200 |
commit | 941efd87e22b1b88e3488b8e681d14d0d66e45ac (patch) | |
tree | 77fcb25a16c2e099fd2eb8fb1304a7d797f136de /gcc/cfgloopmanip.cc | |
parent | 6101a276c34b94f692206739d98aa7faf2e7b2ad (diff) | |
download | gcc-941efd87e22b1b88e3488b8e681d14d0d66e45ac.zip gcc-941efd87e22b1b88e3488b8e681d14d0d66e45ac.tar.gz gcc-941efd87e22b1b88e3488b8e681d14d0d66e45ac.tar.bz2 |
Do not clear bb->aux in duplicate_loop_body_to_header_edge
duplicate_loop_body_to_header_edge clears bb->aux which is not wanted
by a new use in loop unswitching. The clearing was introduced with
r0-69110-g6580ee7781f903 and it seems accidentially so.
2022-05-17 Richard Biener <rguenther@suse.de>
* cfgloopmanip.cc (duplicate_loop_body_to_header_edge): Do
not clear bb->aux of the copied blocks.
Diffstat (limited to 'gcc/cfgloopmanip.cc')
-rw-r--r-- | gcc/cfgloopmanip.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cfgloopmanip.cc b/gcc/cfgloopmanip.cc index b4357c0..7736e3e 100644 --- a/gcc/cfgloopmanip.cc +++ b/gcc/cfgloopmanip.cc @@ -1351,7 +1351,6 @@ duplicate_loop_body_to_header_edge (class loop *loop, edge e, unsigned j; bb = bbs[i]; - bb->aux = 0; auto_vec<basic_block> dom_bbs = get_dominated_by (CDI_DOMINATORS, bb); FOR_EACH_VEC_ELT (dom_bbs, j, dominated) |