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

--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to David Binderman from comment #3)
> Created attachment 34603 [details]
> C++ source code

The attached code does the following with trunk dated 20150128 with
flag -O3


$ ../results/bin/gcc -c -O3 bug184.cc
compiler/BinaryExpr.cpp:195:1: internal compiler error: in edge_badness, at
ipa-inline.c:1018
0x11f5b97 edge_badness(cgraph_edge*, bool)
    ../../src/trunk/gcc/ipa-inline.c:1018
0x11f462d update_edge_key(fibonacci_heap<sreal, cgraph_edge>*, cgraph_edge*)
    ../../src/trunk/gcc/ipa-inline.c:1144
0x11f1555 inline_small_functions()
    ../../src/trunk/gcc/ipa-inline.c:1724
0x11f1555 ipa_inline()
    ../../src/trunk/gcc/ipa-inline.c:2298
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
$

../../src/trunk/gcc/ipa-inline.c:1018 is

  gcc_checking_assert (edge_time <= callee_info->time);

Reply via email to