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

            Bug ID: 63912
           Summary: ice in in inline_call, at ipa-inline-transform.c:339
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Created attachment 34001
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34001&action=edit
gzipped C++ source code

I just tried to compile the attached C++ code with the latest trunk
dated 20141116 on a Fedora Linux x86_64 box.

The compiler said

$ ../results/bin/gcc -c -O2 -std=c++0x    bug175.cc
In file included from
/home/dcb/rpmbuild/BUILD/akonadi-1.13.0/server/tests/unittest/notificationmanagertest.cpp:263:0:
/home/dcb/rpmbuild/BUILD/akonadi-1.13.0/x86_64-redhat-linux-gnu/server/tests/unittest/notificationmanagertest.moc:94:1:
internal compiler error: in inline_call, at ipa-inline-transform.c:339
 }
 ^
0x17eebf9 inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*,
int*, bool, bool*)
    ../../src/trunk/gcc/ipa-inline-transform.c:334
0x17e8584 inline_small_functions()
    ../../src/trunk/gcc/ipa-inline.c:1831
0x17e8584 ipa_inline()
    ../../src/trunk/gcc/ipa-inline.c:2202
0x17e8584 (anonymous namespace)::pass_ipa_inline::execute(function*)
    ../../src/trunk/gcc/ipa-inline.c:2572
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.
$

Flags -O2 -std=c++0x required.

Reply via email to