[Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 13 13:15:00 GMT 2018


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I used gcc 8 headers when bisecting it.  And commenting out
+     /* Do not expect profile insanities when profile was not adjusted.  */
+     if (e->probability == profile_probability::never ()
+         || e->count == profile_count::zero ())
+       continue;
+
helped.  I saw differences in .bbpart so I thought something went wrong in
hot/cold partitioning.


More information about the Gcc-bugs mailing list