public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/63574] New: [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf
@ 2014-10-17 10:06 doko at gcc dot gnu.org
  2014-10-22  6:57 ` [Bug bootstrap/63574] " bernd.edlinger at hotmail dot de
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: doko at gcc dot gnu.org @ 2014-10-17 10:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63574
           Summary: [5 Regression] ICE building libjava (segfault) on
                    arm-linux-gnueabihf
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org

libjava ftbfs on trunk r216349, last successful build seen on 20140919

../../../src/libjava/sun/misc/natUnsafe.cc  -fPIC -DPIC -o
sun/misc/.libs/natUnsafe.o
../../../src/libjava/sun/misc/natUnsafe.cc:253:1: internal compiler error:
Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.

configured for armv7-a hard-float, thumb mode.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63574] [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf
  2014-10-17 10:06 [Bug bootstrap/63574] New: [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
@ 2014-10-22  6:57 ` bernd.edlinger at hotmail dot de
  2014-10-22 10:46 ` jiwang at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-10-22  6:57 UTC (permalink / raw)
  To: gcc-bugs

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

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot de

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
I have it too:

../gcc-5-20141019/configure --prefix=/home/ed/gnu/arm-linux-gnueabihf
--enable-languages=all,ada,go,obj-c++ --with-arch=armv7-a --with-tune=cortex-a9
--with-fpu=vfpv3-d16 --with-float=hard

../../../gcc-5-20141019/libjava/sun/misc/natUnsafe.cc:253:1: internal compiler
error: Segmentation fault
 }
 ^
0x84273b crash_signal
    ../../gcc-5-20141019/gcc/toplev.c:344
0xd8c6fb ipa_icf_gimple::func_checker::compatible_types_p(tree_node*,
tree_node*, bool, bool)
    ../../gcc-5-20141019/gcc/ipa-icf-gimple.c:171
0xd8d4a7 ipa_icf_gimple::func_checker::compare_operand(tree_node*, tree_node*)
    ../../gcc-5-20141019/gcc/ipa-icf-gimple.c:220
0xd90543
ipa_icf_gimple::func_checker::compare_gimple_label(gimple_statement_base*,
gimple_statement_base*)
    ../../gcc-5-20141019/gcc/ipa-icf-gimple.c:746
0xd90543 ipa_icf_gimple::func_checker::compare_bb(ipa_icf_gimple::sem_bb*,
ipa_icf_gimple::sem_bb*)
    ../../gcc-5-20141019/gcc/ipa-icf-gimple.c:604
0xd84637 ipa_icf::sem_function::equals_private(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
    ../../gcc-5-20141019/gcc/ipa-icf.c:455
0xd84b2f ipa_icf::sem_function::equals_private(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
    ../../gcc-5-20141019/gcc/ipa-icf.c:354
0xd84b2f ipa_icf::sem_function::equals(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
    ../../gcc-5-20141019/gcc/ipa-icf.c:355
0xd86cb7 ipa_icf::sem_item_optimizer::subdivide_classes_by_equality(bool)
    ../../gcc-5-20141019/gcc/ipa-icf.c:1771
0xd8b30b ipa_icf::sem_item_optimizer::execute()
    ../../gcc-5-20141019/gcc/ipa-icf.c:1590
0xd8bd87 ipa_icf_driver
    ../../gcc-5-20141019/gcc/ipa-icf.c:2319
0xd8bd87 ipa_icf::pass_ipa_icf::execute(function*)
    ../../gcc-5-20141019/gcc/ipa-icf.c:2366
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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63574] [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf
  2014-10-17 10:06 [Bug bootstrap/63574] New: [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf 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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jiwang at gcc dot gnu.org @ 2014-10-22 10:46 UTC (permalink / raw)
  To: gcc-bugs

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

Jiong Wang <jiwang at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jiwang at gcc dot gnu.org

--- Comment #2 from Jiong Wang <jiwang at gcc dot gnu.org> ---
I run into this issue with the same crash back trace when building libstdc++
around 19 Oct, but can't reproduce with latest code.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63574] [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf
  2014-10-17 10:06 [Bug bootstrap/63574] New: [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf 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
  2014-10-23  8:27 ` jiwang at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jiwang at gcc dot gnu.org @ 2014-10-22 16:35 UTC (permalink / raw)
  To: gcc-bugs

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)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63574] [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf
  2014-10-17 10:06 [Bug bootstrap/63574] New: [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-10-22 16:35 ` jiwang at gcc dot gnu.org
@ 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
  5 siblings, 0 replies; 7+ messages in thread
From: jiwang at gcc dot gnu.org @ 2014-10-23  8:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jiong Wang <jiwang at gcc dot gnu.org> ---
caused by one bug in IPA-ICF-gimple pass, reported to gcc-patch list.

https://gcc.gnu.org/ml/gcc-patches/2014-10/msg02307.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/63574] [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf
  2014-10-17 10:06 [Bug bootstrap/63574] New: [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-10-23  8:27 ` jiwang at gcc dot gnu.org
@ 2014-10-28 12:52 ` ramana at gcc dot gnu.org
  2014-10-30 10:36 ` marxin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-10-28 12:52 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|arm-linxux-gnueabihf        |arm-linux-gnueabihf
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-10-28
                 CC|                            |ramana at gcc dot gnu.org
          Component|bootstrap                   |tree-optimization
     Ever confirmed|0                           |1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug tree-optimization/63574] [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf
  2014-10-17 10:06 [Bug bootstrap/63574] New: [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2014-10-30 10:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Oct 30 10:10:58 2014
New Revision: 216913

URL: https://gcc.gnu.org/viewcvs?rev=216913&root=gcc&view=rev
Log:
    PR ipa/63574
    PR ipa/63664
    * g++.dg/ipa/pr63574.C: New test.
    * ipa-icf-gimple.c (func_checker::parse_labels): Missing comment added.
    (func_checker::compare_gimple_label): Simlified comparison introduced.
    * ipa-icf-gimple.h: Missing comment added.


Added:
    trunk/gcc/testsuite/g++.dg/ipa/pr63574.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf-gimple.c
    trunk/gcc/ipa-icf-gimple.h
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-465292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 30 10:36:47 2014
Return-Path: <gcc-bugs-return-465292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3895 invoked by alias); 30 Oct 2014 10:36:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 3243 invoked by uid 48); 30 Oct 2014 10:36:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56787] [4.8 Regression] Vectorization fails because of CLOBBER statements
Date: Thu, 30 Oct 2014 10:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-56787-4-deu5OermjD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56787-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56787-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg02313.txt.bz2
Content-length: 387

https://gcc.gnu.org/bugzilla/show_bug.cgi?idV787

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.2                       |4.9.3

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.2 has been released.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-30 10:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-17 10:06 [Bug bootstrap/63574] New: [5 Regression] ICE building libjava (segfault) on arm-linux-gnueabihf 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
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

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).