diff options
author | Trevor Saunders <tsaunders@mozilla.com> | 2015-02-10 14:49:07 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-02-10 14:49:07 +0000 |
commit | 11f3ac4911c6440c33b1c7feb2e9b3dd544330c1 (patch) | |
tree | c648c0344bfd851dbc0fa243f942821d987a4db9 /gcc/c | |
parent | e4c2ac365c3249b178997941c70ba410c5721a78 (diff) | |
download | gcc-11f3ac4911c6440c33b1c7feb2e9b3dd544330c1.zip gcc-11f3ac4911c6440c33b1c7feb2e9b3dd544330c1.tar.gz gcc-11f3ac4911c6440c33b1c7feb2e9b3dd544330c1.tar.bz2 |
cap frequency in make_forwarder_block
In the testcase the block with problematic frequency has to incoming
edges. Each edge has probability 1. The first edge's source bb has
frequency 873/10000, and the second has a frequency of 9409/10000. So
at least one of those is slightly high probably from some sort of rounding
issue related to fixed point, but in any case make_forwarder_block
should not create basic blocks with frequency greater than BB_FREQ_MAX.
gcc/
PR tree-optimization/64326
* cfghooks.c (make_forwarder_block): Cap frequency of created
basic block.
From-SVN: r220585
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions