diff options
author | Cary Coutant <ccoutant@google.com> | 2009-07-24 22:37:05 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@gcc.gnu.org> | 2009-07-24 15:37:05 -0700 |
commit | cbea518e5bed234467f0c1108a623fd49a251b80 (patch) | |
tree | 6458eefa49d090a1d57d4fe791e5a56f2a987f5e /gcc/cfghooks.c | |
parent | 2e0814c8d67b6a80fc68cfefd90865bc4e2b87ec (diff) | |
download | gcc-cbea518e5bed234467f0c1108a623fd49a251b80.zip gcc-cbea518e5bed234467f0c1108a623fd49a251b80.tar.gz gcc-cbea518e5bed234467f0c1108a623fd49a251b80.tar.bz2 |
cfghooks.c (split_block): Copy discriminator to new block.
* cfghooks.c (split_block): Copy discriminator to new block.
* tree-cfg.c (assign_discriminator): Check location of last
instruction in block as well as first.
From-SVN: r150065
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r-- | gcc/cfghooks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index 2c65726..d6690a4 100644 --- a/gcc/cfghooks.c +++ b/gcc/cfghooks.c @@ -437,6 +437,7 @@ split_block (basic_block bb, void *i) new_bb->count = bb->count; new_bb->frequency = bb->frequency; new_bb->loop_depth = bb->loop_depth; + new_bb->discriminator = bb->discriminator; if (dom_info_available_p (CDI_DOMINATORS)) { |