diff options
author | Jeff Law <law@gcc.gnu.org> | 2016-01-12 21:17:36 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2016-01-12 21:17:36 -0700 |
commit | c6f72a46146142e8d9689e160a7d7d9d9bd227de (patch) | |
tree | 758193d840df21e1ce09bb65de351fbb5fdf40b7 /gcc/ddg.c | |
parent | 5ee4820a1f12d7b36712d46aab7e57efc61e2537 (diff) | |
download | gcc-c6f72a46146142e8d9689e160a7d7d9d9bd227de.zip gcc-c6f72a46146142e8d9689e160a7d7d9d9bd227de.tar.gz gcc-c6f72a46146142e8d9689e160a7d7d9d9bd227de.tar.bz2 |
[PATCH][PR tree-optimization/pr67755] Fix profile insanity adjustments
PR tree-optimization/pr67755
* tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
"need_profile_correction".
(thread_block_1): Initialize new field to false by default. If we
have multiple thread paths through a common joiner to different
final targets, then set new field to true.
(compute_path_counts): Only do count adjustment when it's really
needed.
PR tree-optimization/67755
* gcc.dg/tree-ssa/pr67755.c: New test.
From-SVN: r232313
Diffstat (limited to 'gcc/ddg.c')
0 files changed, 0 insertions, 0 deletions