public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jiwang at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/63574] [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf
Date: Wed, 22 Oct 2014 16:35:00 -0000	[thread overview]
Message-ID: <bug-63574-4-SNKFE35RQt@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63574-4@http.gcc.gnu.org/bugzilla/>

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)


  parent reply	other threads:[~2014-10-22 16:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17 10:06 [Bug bootstrap/63574] New: " doko at gcc dot gnu.org
2014-10-22  6:57 ` [Bug bootstrap/63574] " bernd.edlinger at hotmail dot de
2014-10-22 10:46 ` jiwang at gcc dot gnu.org
2014-10-22 16:35 ` jiwang at gcc dot gnu.org [this message]
2014-10-23  8:27 ` jiwang at gcc dot gnu.org
2014-10-28 12:52 ` [Bug tree-optimization/63574] " ramana at gcc dot gnu.org
2014-10-30 10:36 ` marxin at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-63574-4-SNKFE35RQt@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).