https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80597
Bug ID: 80597 Summary: internal compiler error: in compute_inline_parameters, at ipa-inline-analysis.c:3126 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: babokin at gmail dot com Target Milestone: --- Created attachment 41299 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41299&action=edit reproducer gcc top of the trunk, r247455, x86_64 Test is quite big, I failed to reduce it. UBSAN switch is also required to reproduce. > time g++ -std=c++11 -fsanitize=undefined -w -O0 -c func.i func.cpp: In function ‘void foo()’: func.cpp:1181:1: internal compiler error: in compute_inline_parameters, at ipa-inline-analysis.c:3126 } ^ 0xb96459 compute_inline_parameters(cgraph_node*, bool) ../../gcc_svn/gcc/ipa-inline-analysis.c:3125 0xb96668 compute_inline_parameters_for_current ../../gcc_svn/gcc/ipa-inline-analysis.c:3137 0xb96668 execute ../../gcc_svn/gcc/ipa-inline-analysis.c:3167 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. real 4m53.780s user 4m49.790s sys 0m3.985s