https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81360
--- Comment #9 from David Binderman <dcb314 at hotmail dot com> --- Created attachment 43163 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43163&action=edit gzipped C source code The original code now seems to have broken between date 20180112 and today, 20180117. $ ~/gcc/results/bin/gcc -c -w -O2 bug366.c during IPA pass: inline che_heuristics.c:534: internal compiler error: in estimate_edge_growth, at ipa-inline.h:85 0x1786d40 estimate_edge_growth ../../trunk/gcc/ipa-inline.h:84 0x178ac8f want_inline_small_function_p ../../trunk/gcc/ipa-inline.c:747 0x178b542 update_caller_keys ../../trunk/gcc/ipa-inline.c:1320 0x178cece inline_small_functions ../../trunk/gcc/ipa-inline.c:2022 Reduced code seems fine, however.