aboutsummaryrefslogtreecommitdiff
path: root/gcc/read-rtl-function.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2023-03-29 09:01:23 -0700
committerIan Lance Taylor <iant@golang.org>2023-03-29 09:01:23 -0700
commit6612f4f8cb9b0d5af18ec69ad04e56debc3e6ced (patch)
tree1deecdcfbf185c7044bc861d0ace51285c96cb62 /gcc/read-rtl-function.cc
parent795cffe109e28b248a54b8ee583cbae48368c2a7 (diff)
parentaa8f4242efc99f24de73c59d53996f28db28c13f (diff)
downloadgcc-6612f4f8cb9b0d5af18ec69ad04e56debc3e6ced.zip
gcc-6612f4f8cb9b0d5af18ec69ad04e56debc3e6ced.tar.gz
gcc-6612f4f8cb9b0d5af18ec69ad04e56debc3e6ced.tar.bz2
Merge from trunk revision aa8f4242efc99f24de73c59d53996f28db28c13f.
Diffstat (limited to 'gcc/read-rtl-function.cc')
-rw-r--r--gcc/read-rtl-function.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/read-rtl-function.cc b/gcc/read-rtl-function.cc
index 3bcff15..b89a811 100644
--- a/gcc/read-rtl-function.cc
+++ b/gcc/read-rtl-function.cc
@@ -1,5 +1,5 @@
/* read-rtl-function.cc - Reader for RTL function dumps
- Copyright (C) 2016-2022 Free Software Foundation, Inc.
+ Copyright (C) 2016-2023 Free Software Foundation, Inc.
This file is part of GCC.
@@ -622,10 +622,11 @@ function_reader::parse_block ()
These can get out-of-sync when basic blocks are optimized away.
They get back in sync by "compact_blocks".
- We reconstruct cfun->cfg->x_basic_block_info->m_vecdata with NULL
- values in it for any missing basic blocks, so that (a) == (b) for
- all of the blocks we create. The doubly-linked list of basic
- blocks (next_bb/prev_bb) skips over these "holes". */
+ We reconstruct cfun->cfg->x_basic_block_info->address () pointed
+ vector elements with NULL values in it for any missing basic blocks,
+ so that (a) == (b) for all of the blocks we create. The
+ doubly-linked list of basic blocks (next_bb/prev_bb) skips over
+ these "holes". */
if (m_highest_bb_idx < bb_idx)
m_highest_bb_idx = bb_idx;