[Bug bootstrap/63574] [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf

jiwang at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 22 16:35:00 GMT 2014


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

--- Comment #3 from Jiong Wang <jiwang at gcc dot gnu.org> ---
finally, reproduced on latest gcc revision 216547 on chrome book native build

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216547

./cc1plus -O2 natUnsafe.ii

Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <free-inline-summary>
<whole-program> <profile_estimate> <icf>
Program received signal SIGSEGV, Segmentation fault.
0x00f4f558 in ipa_icf_gimple::func_checker::compatible_types_p (t1=0x0, t2=0x0,
compare_polymorphic=true, first_argument=false) at
../../gcc/gcc/ipa-icf-gimple.c:172
172      if (TREE_CODE (t1) != TREE_CODE (t2))
(gdb) bt
#0  0x00f4f558 in ipa_icf_gimple::func_checker::compatible_types_p (t1=0x0,
t2=0x0, compare_polymorphic=true, first_argument=false) at
../../gcc/gcc/ipa-icf-gimple.c:172
#1  0x00f4f7b0 in ipa_icf_gimple::func_checker::compare_operand
(this=0x1526590, t1=0xb67bf4d0, t2=0xb67bf1b8) at
../../gcc/gcc/ipa-icf-gimple.c:220
#2  0x00f512aa in ipa_icf_gimple::func_checker::compare_tree_ssa_label
(this=0x1526590, t1=0xb67bf4d0, t2=0xb67bf1b8) at
../../gcc/gcc/ipa-icf-gimple.c:737
#3  0x00f51374 in ipa_icf_gimple::func_checker::compare_gimple_label
(this=0x1526590, g1=0xb67c0780, g2=0xb67c00f0) at
../../gcc/gcc/ipa-icf-gimple.c:755
#4  0x00f50f18 in ipa_icf_gimple::func_checker::compare_bb (this=0x1526590,
bb1=0x1518ee0, bb2=0x1524560) at ../../gcc/gcc/ipa-icf-gimple.c:604
#5  0x00f4569a in ipa_icf::sem_function::equals_private (this=0x1518db8,
item=0x1524438, ignored_nodes=...) at ../../gcc/gcc/ipa-icf.c:455
#6  0x00f45090 in ipa_icf::sem_function::equals (this=0x1518db8,
item=0x1524438, ignored_nodes=...) at ../../gcc/gcc/ipa-icf.c:355
#7  0x00f48a6a in ipa_icf::sem_item_optimizer::subdivide_classes_by_equality
(this=0x1516a90, in_wpa=false) at ../../gcc/gcc/ipa-icf.c:1771
#8  0x00f4834e in ipa_icf::sem_item_optimizer::execute (this=0x1516a90) at
../../gcc/gcc/ipa-icf.c:1590
#9  0x00f4a1da in ipa_icf::ipa_icf_driver () at ../../gcc/gcc/ipa-icf.c:2319
#10 0x00f4a6ca in ipa_icf::pass_ipa_icf::execute (this=0x14e24e0) at
../../gcc/gcc/ipa-icf.c:2366
#11 0x0086f32e in execute_one_pass (pass=0x14e24e0) at
../../gcc/gcc/passes.c:2156
#12 0x0086ff56 in execute_ipa_pass_list (pass=0x14e24e0) at
../../gcc/gcc/passes.c:2550
#13 0x00570d4a in ipa_passes () at ../../gcc/gcc/cgraphunit.c:2057
#14 0x00570fc0 in symbol_table::compile (this=0xb6c4c000) at
../../gcc/gcc/cgraphunit.c:2137
#15 0x005712b2 in symbol_table::finalize_compilation_unit (this=0xb6c4c000) at
../../gcc/gcc/cgraphunit.c:2290
#16 0x0031bd4e in cp_write_global_declarations () at
../../gcc/gcc/cp/decl2.c:4666
#17 0x00948aee in compile_file () at ../../gcc/gcc/toplev.c:574
#18 0x0094b2e0 in do_compile () at ../../gcc/gcc/toplev.c:1981
#19 0x0094b51a in toplev::main (this=0xbefffb54, argc=3, argv=0xbefffcb4) at
../../gcc/gcc/toplev.c:2078
#20 0x00fb1732 in main (argc=3, argv=0xbefffcb4) at ../../gcc/gcc/main.c:38
(gdb)



More information about the Gcc-bugs mailing list