https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82965
--- Comment #15 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Fri Apr 13 08:59:05 2018 New Revision: 259368 URL: https://gcc.gnu.org/viewcvs?rev=259368&root=gcc&view=rev Log: PR tree-optimization/82965 PR tree-optimization/83991 * cfgloopanal.c (expected_loop_iterations_unbounded): Add by_profile_only parameter. * cfgloopmanip.c (scale_loop_profile): Further scale loop's profile information if the loop was predicted to iterate too many times. * cfgloop.h (expected_loop_iterations_unbounded): Update prototype Modified: trunk/gcc/ChangeLog trunk/gcc/cfgloop.h trunk/gcc/cfgloopanal.c trunk/gcc/cfgloopmanip.c