diff options
author | Martin Liska <mliska@suse.cz> | 2018-11-07 10:33:22 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-11-07 09:33:22 +0000 |
commit | 907050e34f4d1b5471e738cf5a718a8c6f50e334 (patch) | |
tree | deb77b6e57768a9edb6812fdbddb78321929cfb2 /gcc/tree.c | |
parent | 9cfc08c0491270417557f00998857722c405f0b3 (diff) | |
download | gcc-907050e34f4d1b5471e738cf5a718a8c6f50e334.zip gcc-907050e34f4d1b5471e738cf5a718a8c6f50e334.tar.gz gcc-907050e34f4d1b5471e738cf5a718a8c6f50e334.tar.bz2 |
Fix UBSAN in postreload-gcse.c (PR rtl-optimization/87868).
2018-11-07 Martin Liska <mliska@suse.cz>
PR rtl-optimization/87868
* postreload-gcse.c (eliminate_partially_redundant_load): Set
threshold to max_count if we would overflow.
* profile-count.h: Make max_count a public constant.
From-SVN: r265869
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions