[Bug c++/65908] New: internal compiler error: in expand_thunk

mark at noffle dot net gcc-bugzilla@gcc.gnu.org
Mon Apr 27 17:34:00 GMT 2015


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

            Bug ID: 65908
           Summary: internal compiler error: in expand_thunk
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mark at noffle dot net
  Target Milestone: ---

Created attachment 35408
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35408&action=edit
-save-temps generated output

Greetings.

In an attempt to compile the CVC4 SMT solver using GCC 5.1.0, the following
error occurs:

/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/production-cln-glpk/../../../src/compat
-I../..  -D__BUILDING_CVC4COM
PATLIB -I./.. -I/usr/local/include
-I/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/production-cln-glpk/../../../src/compat/../include
-I/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/p
roduction-cln-glpk/../../../src/compat/.. -pthread -I/usr/local/include  
-DCVC4_STATISTICS_ON -DNDEBUG -DCVC4_DUMPING
-I/home/marky/source/CVC4/glpk-cut-log/include -DCVC4_USE_GLPK
-DCVC4_ANTLR3_OLD_INP
UT_STREAM -fno-strict-aliasing -I/usr/local/include   -O3 -ggdb3
-Wno-deprecated -MT libcvc4compat_la-cvc3_compat.lo -MD -MP -MF
.deps/libcvc4compat_la-cvc3_compat.Tpo -c -o libcvc4compat_la-cvc3_compat.
lo `test -f 'cvc3_compat.cpp' || echo
'/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/production-cln-glpk/../../../src/compat/'`cvc3_compat.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I.
-I/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/production-cln-glpk/../../../src/compat
-I../.. -D__BUILDING_CVC4COMPATLIB -I./.. -I/usr/local/include

-I/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/production-cln-glpk/../../../src/compat/../include
-I/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/production-cln-glpk/../../../src/co
mpat/.. -pthread -I/usr/local/include -DCVC4_STATISTICS_ON -DNDEBUG
-DCVC4_DUMPING -I/home/marky/source/CVC4/glpk-cut-log/include -DCVC4_USE_GLPK
-DCVC4_ANTLR3_OLD_INPUT_STREAM -fno-strict-aliasing -I/us
r/local/include -O3 -ggdb3 -Wno-deprecated -MT libcvc4compat_la-cvc3_compat.lo
-MD -MP -MF .deps/libcvc4compat_la-cvc3_compat.Tpo -c
/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/production-cl$
-glpk/../../../src/compat/cvc3_compat.cpp  -fPIC -DPIC -o
.libs/libcvc4compat_la-cvc3_compat.o
/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/production-cln-glpk/../../../src/compat/cvc3_compat.cpp:
In member function 'std::__cxx11::string CVC3::Expr::getUid() const':
/home/marky/source/CVC4/builds/x86_64-unknown-linux-gnu/production-cln-glpk/../../../src/compat/cvc3_compat.cpp:2552:1:
internal compiler error: in expand_thunk, at cgraphunit.c:1700
 }/* CVC3 namespace */
 ^
0x7c0fc6 cgraph_node::expand_thunk(bool, bool)
        ../.././gcc/cgraphunit.c:1699
0x7c2b5b cgraph_node::create_wrapper(cgraph_node*)
        ../.././gcc/cgraphunit.c:2517
0xff15b9 ipa_icf::sem_function::merge(ipa_icf::sem_item*)
        ../.././gcc/ipa-icf.c:1133
0xfe95ef ipa_icf::sem_item_optimizer::merge_classes(unsigned int)
        ../.././gcc/ipa-icf.c:3232
0xff0f6c ipa_icf::sem_item_optimizer::execute()
        ../.././gcc/ipa-icf.c:2436
0xff26e6 ipa_icf_driver
        ../.././gcc/ipa-icf.c:3309
0xff26e6 ipa_icf::pass_ipa_icf::execute(function*)
        ../.././gcc/ipa-icf.c:3356
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.

Release: g++ (GCC) 5.1.0
System: Debian 8.0 jessie (3.16.0-4-amd64)
CFLAGS as found in configured Makefile for CVC4:



More information about the Gcc-bugs mailing list