This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/61671] New: [4.10 regression] lto1: ICE in types_same_for_odr, at ipa-devirt.c:365


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

            Bug ID: 61671
           Summary: [4.10 regression] lto1: ICE in types_same_for_odr, at
                    ipa-devirt.c:365
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com

r212219 FAIL
r212191 PASS

$ /usr/local/gcc_current/bin/g++ -v                         
Using built-in specs.
COLLECT_GCC=/usr/local/gcc_current/bin/g++
COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/dimhen/src/gcc_current/configure
--prefix=/usr/local/gcc_current/ --enable-checking=yes,df,rtl,tree
--enable-languages=c,c++,lto --enable-plugin
--enable-version-specific-runtime-libs --enable-static
Thread model: posix
gcc version 4.10.0 20140702 (experimental) [trunk revision 212219] (GCC) 


$ /usr/local/gcc_current/bin/g++ -O -flto -c au.ii -o au.o
$ /usr/local/gcc_current/bin/g++ -shared au.o -flto -o au.so
In function 'fn1':
lto1: internal compiler error: in types_same_for_odr, at ipa-devirt.c:365
0x7d0889 types_same_for_odr(tree_node const*, tree_node const*)
    /home/dimhen/src/gcc_current/gcc/ipa-devirt.c:365
0x7d0e41 get_class_context
    /home/dimhen/src/gcc_current/gcc/ipa-devirt.c:1226
0x7d125f contains_type_p
    /home/dimhen/src/gcc_current/gcc/ipa-devirt.c:1313
0x7d30b9 get_polymorphic_call_info(tree_node*, tree_node*, tree_node**, long*,
ipa_polymorphic_call_context*)
    /home/dimhen/src/gcc_current/gcc/ipa-devirt.c:1528
0x5ff321 cgraph_create_indirect_edge(cgraph_node*, gimple_statement_base*, int,
long, int)
    /home/dimhen/src/gcc_current/gcc/cgraph.c:970
0x601ec0 rebuild_cgraph_edges()
    /home/dimhen/src/gcc_current/gcc/cgraphbuild.c:454
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.
lto-wrapper: fatal error: /usr/local/gcc_current/bin/g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]