public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/63909] New: ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb()
@ 2014-11-17 10:48 zsojka at seznam dot cz
2014-11-17 10:49 ` [Bug ipa/63909] [5 Regression] " rguenth at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2014-11-17 10:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63909
Bug ID: 63909
Summary: ICE: SIGSEGV in
ipa_icf_gimple::func_checker::compare_bb()
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Created attachment 33998
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33998&action=edit
reduced testcase
Compiler output:
$ gcc -O2 -fno-guess-branch-probability testcase.c
testcase.c:15:1: internal compiler error: Segmentation fault
}
^
0xc662af crash_signal
/mnt/svn/gcc-trunk/gcc/toplev.c:359
0x16ccf68 ipa_icf_gimple::func_checker::compare_bb(ipa_icf_gimple::sem_bb*,
ipa_icf_gimple::sem_bb*)
/mnt/svn/gcc-trunk/gcc/ipa-icf-gimple.c:575
0x16c159e ipa_icf::sem_function::equals_private(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
/mnt/svn/gcc-trunk/gcc/ipa-icf.c:484
0x16c1a63 ipa_icf::sem_function::equals_private(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
/mnt/svn/gcc-trunk/gcc/ipa-icf.c:383
0x16c1a63 ipa_icf::sem_function::equals(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
/mnt/svn/gcc-trunk/gcc/ipa-icf.c:384
0x16c3e6a ipa_icf::sem_item_optimizer::subdivide_classes_by_equality(bool)
/mnt/svn/gcc-trunk/gcc/ipa-icf.c:1824
0x16c84fc ipa_icf::sem_item_optimizer::execute()
/mnt/svn/gcc-trunk/gcc/ipa-icf.c:1643
0x16c8fa1 ipa_icf_driver
/mnt/svn/gcc-trunk/gcc/ipa-icf.c:2373
0x16c8fa1 ipa_icf::pass_ipa_icf::execute(function*)
/mnt/svn/gcc-trunk/gcc/ipa-icf.c:2421
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.
Tested revisions:
r217624 - ICE
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ipa/63909] [5 Regression] ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb()
2014-11-17 10:48 [Bug ipa/63909] New: ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb() zsojka at seznam dot cz
@ 2014-11-17 10:49 ` rguenth at gcc dot gnu.org
2014-12-07 14:01 ` trippels at gcc dot gnu.org
2014-12-10 14:08 ` marxin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-17 10:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63909
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Target Milestone|--- |5.0
Summary|ICE: SIGSEGV in |[5 Regression] ICE: SIGSEGV
|ipa_icf_gimple::func_checke |in
|r::compare_bb() |ipa_icf_gimple::func_checke
| |r::compare_bb()
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ipa/63909] [5 Regression] ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb()
2014-11-17 10:48 [Bug ipa/63909] New: ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb() zsojka at seznam dot cz
2014-11-17 10:49 ` [Bug ipa/63909] [5 Regression] " rguenth at gcc dot gnu.org
@ 2014-12-07 14:01 ` trippels at gcc dot gnu.org
2014-12-10 14:08 ` marxin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-12-07 14:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63909
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-12-07
CC| |trippels at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Also happens during Chromium build:
../../third_party/WebKit/Source/wtf/DefaultAllocator.cpp:53:1: internal
compiler error: Segmentation fault
0xc8098f crash_signal
../../gcc/gcc/toplev.c:358
0x129aac8 ipa_icf_gimple::func_checker::compare_bb(ipa_icf_gimple::sem_bb*,
ipa_icf_gimple::sem_bb*)
...
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ipa/63909] [5 Regression] ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb()
2014-11-17 10:48 [Bug ipa/63909] New: ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb() zsojka at seznam dot cz
2014-11-17 10:49 ` [Bug ipa/63909] [5 Regression] " rguenth at gcc dot gnu.org
2014-12-07 14:01 ` trippels at gcc dot gnu.org
@ 2014-12-10 14:08 ` marxin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2014-12-10 14:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63909
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Dec 10 14:07:47 2014
New Revision: 218578
URL: https://gcc.gnu.org/viewcvs?rev=218578&root=gcc&view=rev
Log:
PR ipa/63909
* gimple-iterator.h (gsi_start_bb_nondebug): New function.
* ipa-icf-gimple.c (func_checker::compare_bb): Correct iteration
replaces loop based on precomputed number of non-debug statements.
* gcc.dg/ipa/pr63909.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/ipa/pr63909.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-iterator.h
trunk/gcc/ipa-icf-gimple.c
trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-470098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 10 14:12:13 2014
Return-Path: <gcc-bugs-return-470098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31214 invoked by alias); 10 Dec 2014 14:12:12 -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 31173 invoked by uid 48); 10 Dec 2014 14:12:09 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63909] [5 Regression] ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb()
Date: Wed, 10 Dec 2014 14:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-63909-4-RDGVLmy9ZF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63909-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63909-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-12/txt/msg01105.txt.bz2
Content-length: 433
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63909
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-470099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 10 14:38:40 2014
Return-Path: <gcc-bugs-return-470099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23258 invoked by alias); 10 Dec 2014 14:38:38 -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 23214 invoked by uid 48); 10 Dec 2014 14:38:32 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/57689] [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
Date: Wed, 10 Dec 2014 14:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: go
X-Bugzilla-Version: 4.8.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: 4.8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57689-4-GRUc8tkx6I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57689-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57689-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-12/txt/msg01106.txt.bz2
Content-length: 214
https://gcc.gnu.org/bugzilla/show_bug.cgi?idW689
--- Comment #7 from Matthias Klose <doko at gcc dot gnu.org> ---
sorry, can't say anymore. Debian dropped ia64, and I don't have access anymore
to any hardware.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-10 14:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-17 10:48 [Bug ipa/63909] New: ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb() zsojka at seznam dot cz
2014-11-17 10:49 ` [Bug ipa/63909] [5 Regression] " rguenth at gcc dot gnu.org
2014-12-07 14:01 ` trippels at gcc dot gnu.org
2014-12-10 14:08 ` 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).