http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58862
--- Comment #12 from Uroš Bizjak <ubizjak at gmail dot com> --- Untar the file from the link [1] to a temp dir, go to the gcc directory in the temp dir and type: <path-to-gcc-build-dir>/gcc/lto1 @ccBysEru.args Reading object files: build/genmddeps.o build/read-md.o build/errors.o .././libiberty/libiberty.a@0x183c82 .././libiberty/libiberty.a@0x1f8142 .././libiberty/libiberty.a@0x207f4e .././libiberty/libiberty.a@0x22e3be .././libiberty/libiberty.a@0x286fce .././libiberty/libiberty.a@0x345dbe .././libiberty/libiberty.a@0x34e386 .././libiberty/libiberty.a@0x3538de .././libiberty/libiberty.a@0x34394a Reading the callgraph Merging declarations Reading summaries Materializing decls: <whole-program> <profile_estimate> <cp> <cdtor> <inline>lto1: internal compiler error: in edge_badness, at ipa-inline.c:1011 0xd598ea edge_badness /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:1011 0xd5c575 update_edge_key /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:1024 0xd5c575 inline_small_functions /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:1610 0xd5c575 ipa_inline /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:2015 0xd5c575 execute /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:2385 Please submit a full bug report, Using gdb: #2 0x0000000000d598eb in edge_badness (edge=0x7ffff1a45e38, dump=<optimized out>) at /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:1011 1011 gcc_assert (badness >= INT_MIN); (gdb) bt #0 internal_error (gmsgid=gmsgid@entry=0x114f198 "in %s, at %s:%d") at /home/uros/gcc-svn/trunk/gcc/diagnostic.c:1123 #1 0x0000000000dc7514 in fancy_abort (file=file@entry=0x110da18 "/home/uros/gcc-svn/trunk/gcc/ipa-inline.c", line=line@entry=1011, function=function@entry=0x110e2ca <edge_badness(cgraph_edge*, bool)::__FUNCTION__> "edge_badness") at /home/uros/gcc-svn/trunk/gcc/diagnostic.c:1183 #2 0x0000000000d598eb in edge_badness (edge=0x7ffff1a45e38, dump=<optimized out>) at /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:1011 #3 0x0000000000d5c576 in update_edge_key (edge=<optimized out>, heap=<optimized out>) at /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:1024 #4 inline_small_functions () at /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:1610 #5 ipa_inline () at /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:2015 #6 (anonymous namespace)::pass_ipa_inline::execute (this=0x114f198) at /home/uros/gcc-svn/trunk/gcc/ipa-inline.c:2385 #7 0x00000000007fd2ea in execute_one_pass (pass=pass@entry=0x15cdc00) at /home/uros/gcc-svn/trunk/gcc/passes.c:2215 #8 0x00000000007fdb7b in execute_ipa_pass_list (pass=0x15cdc00) at /home/uros/gcc-svn/trunk/gcc/passes.c:2579 (gdb) p badness $1 = -31503367557611520 [1] https://drive.google.com/file/d/0BzMiXQxzb9IONVd2UWcxUDBrblE/edit?usp=sharing