[Bug ipa/81133] [8 Regression] PGO/LTO bootstrap: ICE: in inline_small_functions, at ipa-inline.c:1891
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 11 08:03:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81133
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Happens Fortran front-end. I'm attaching IPA inline dump file where I also
dumped the problematic badnesses which are compared:
https://drive.google.com/file/d/0B0pisUJ80pO1N2pBUXdhVlVwZlU/view?usp=sharing
Snippet:
[...]
Enqueueing calls in app_disable/164630.
Estimating body: _Z11app_disablev.part.30/166180
Known to be false: not inlined
size:7 time:16.000000 nonspec time:216.000000
enqueuing call app_disable/164630 -> _Z11app_disablev.part.30/166180, badness
-0.002838
[...]
assert triggered: app_disable/164630->_Z11app_disablev.part.30/166180,
current_badness: -2.995652, badness: -0.002838
where edge_badness for the problematic edge prints:
Badness calculation for app_disable/164630 ->
_Z11app_disablev.part.30/166180
size growth 6, time 16.000000 unspec 216.000000
Wrapper penalty. Increasing growth -4 to 30
-0.748913: guessed profile. frequency 0.000000, count 0 caller count
207383 time w/o inlining 5.105469, time with inlining 5.007812 overall growth
38 (current) -4 (original) 900 (compensated)
Adjusted by hints -2.995652
I can provide pre-build tree on gcc67 machine if needed.
More information about the Gcc-bugs
mailing list