[Bug middle-end/83718] [8 Regression] ICE: Floating point exception in profile_count::apply_scale

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 11 17:46:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83718

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Thu Jan 11 17:46:01 2018
New Revision: 256544

URL: https://gcc.gnu.org/viewcvs?rev=256544&root=gcc&view=rev
Log:
        PR middle-end/83718
        * tree-inline.c (copy_cfg_body): Adjust num&den for scaling
        after they are computed.
        * g++.dg/torture/pr83718.C: New testcase.


Added:
    trunk/gcc/testsuite/g++.dg/torture/pr83718.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c


More information about the Gcc-bugs mailing list