aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-01-20 11:50:53 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2025-01-20 13:14:23 +0100
commit1265afa91d51606605f85e732344e86e4e4dae9b (patch)
tree2a656913d415895e55876e9f8e59dcff22917c60 /gcc/fortran/trans-expr.cc
parent6c5937991bd744a4916e9cf65eb5d9c9b5706120 (diff)
downloadgcc-1265afa91d51606605f85e732344e86e4e4dae9b.zip
gcc-1265afa91d51606605f85e732344e86e4e4dae9b.tar.gz
gcc-1265afa91d51606605f85e732344e86e4e4dae9b.tar.bz2
tree-optimization/118552 - failed LC SSA update after unrolling
When unrolling changes nesting relationship of loops we fail to mark blocks as in need to change for LC SSA update. Specifically the LC SSA PHI on a former inner loop exit might be misplaced if that loop becomes a sibling of its outer loop. PR tree-optimization/118552 * cfgloopmanip.cc (fix_loop_placement): Properly mark exit source blocks as to be scanned for LC SSA update when the loops nesting relationship changed. (fix_loop_placements): Adjust. (fix_bb_placements): Likewise. * gcc.dg/torture/pr118552.c: New testcase.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions