[Bug ipa/64378] [5 Regression] ICE: in inline_call, at ipa-inline-transform.c:347 with -O3 -fno-ipa-cp

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 13 10:57:00 GMT 2015


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking
           Priority|P3                          |P1
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

#ifdef ENABLE_CHECKING
  /* Verify that estimated growth match real growth.  Allow off-by-one
     error due to INLINE_SIZE_SCALE roudoff errors.  */
  gcc_assert (!update_overall_summary || !overall_size || new_edges_found
              || abs (estimated_growth - (new_size - old_size)) <= 1
              || speculation_removed
              /* FIXME: a hack.  Edges with false predicate are accounted
                 wrong, we should remove them from callgraph.  */
              || predicated);
#endif

triggers again...

(gdb) p estimated_growth
$1 = 5
(gdb) p new_size
$2 = 20
(gdb) p old_size
$3 = 13

off-by-two.



More information about the Gcc-bugs mailing list