diff options
author | Alexandre Oliva <oliva@adacore.com> | 2021-07-24 23:05:33 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2021-08-17 08:00:40 -0300 |
commit | 6bcbf80c6e2bd8a60d88bbcac3d70ffb67f4888f (patch) | |
tree | 1dc74919abb9a239ce1bddda67dd6a933e8efe88 /gcc/fortran/st.c | |
parent | 3ed8da759b52708f6874af2afc6ab56b1fb00cec (diff) | |
download | gcc-6bcbf80c6e2bd8a60d88bbcac3d70ffb67f4888f.zip gcc-6bcbf80c6e2bd8a60d88bbcac3d70ffb67f4888f.tar.gz gcc-6bcbf80c6e2bd8a60d88bbcac3d70ffb67f4888f.tar.bz2 |
retain debug stmt order when moving to successors
We iterate over debug stmts from the last one in new_bb, and we insert
them before the first post-label stmt in each dest block, without
moving the insertion iterator, so they end up reversed. Moving the
insertion iterator fixes this.
for gcc/ChangeLog
* tree-inline.c (maybe_move_debug_stmts_to_successors): Don't
reverse debug stmts.
Diffstat (limited to 'gcc/fortran/st.c')
0 files changed, 0 insertions, 0 deletions