public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3
@ 2014-12-08 9:13 antoshkka at gmail dot com
2014-12-08 9:46 ` [Bug ipa/64218] " trippels at gcc dot gnu.org
` (15 more replies)
0 siblings, 16 replies; 17+ messages in thread
From: antoshkka at gmail dot com @ 2014-12-08 9:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
Bug ID: 64218
Summary: ICE during compilation with -fno-rtti -O3
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: antoshkka at gmail dot com
Following error occurred during compilation of one of the Boost's tests:
../libs/variant/test/recursive_variant_test.cpp:315:1: internal compiler error:
Segmentation fault
}
^
0xc9658f crash_signal
?../../gcc/gcc/toplev.c:358
0x8d4280 symtab_node::get_alias_target()
?../../gcc/gcc/cgraph.h:2242
0x8d4280 symtab_node::ultimate_alias_target(availability*)
?../../gcc/gcc/symtab.c:1292
0x12a3b33 cgraph_node::ultimate_alias_target(availability*)
?../../gcc/gcc/cgraph.h:2684
0x12a3b33 want_inline_function_to_all_callers_p
?../../gcc/gcc/ipa-inline.c:840
0x12a3b33 ipa_inline
?../../gcc/gcc/ipa-inline.c:2245
0x12a3b33 execute
?../../gcc/gcc/ipa-inline.c:2558
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.
Code was compiled with the following flags:
"g++" -ftemplate-depth-128 -fno-rtti -O3 -finline-functions -Wno-inline -Wall
-fPIC -std=c++11 -march=native -DBOOST_ALL_NO_LIB=1 -DBOOST_NO_RTTI
-DBOOST_NO_TYPEID -DNDEBUG -I".." -c -o
"/home/trippels/results/boost/bin.v2/libs/variant/test/variant_no_rtti_test.test/gcc-5.0.0/release/pch-off/rtti-off/recursive_variant_test.o"
"../libs/variant/test/recursive_variant_test.cpp"
Sources can be seen here:
https://github.com/boostorg/variant/blob/develop/test/recursive_variant_test.cpp#L315
Exactly the same test compile and pass OK if rtti is on.
P.S.: Sorry for no preprocessed and minimized code, I have no access to 5.0.0.
I'm trying to contact the test runner, but no success at this point.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] ICE during compilation with -fno-rtti -O3
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
@ 2014-12-08 9:46 ` trippels at gcc dot gnu.org
2014-12-08 9:51 ` trippels at gcc dot gnu.org
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-12-08 9:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
The test runner is me.
I must have overlooked this ICE in the hundreds of similar ICEs
due to PR1558.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] ICE during compilation with -fno-rtti -O3
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
2014-12-08 9:46 ` [Bug ipa/64218] " trippels at gcc dot gnu.org
@ 2014-12-08 9:51 ` trippels at gcc dot gnu.org
2014-12-08 10:26 ` [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite trippels at gcc dot gnu.org
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-12-08 9:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
I meant PR61558.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
2014-12-08 9:46 ` [Bug ipa/64218] " trippels at gcc dot gnu.org
2014-12-08 9:51 ` trippels at gcc dot gnu.org
@ 2014-12-08 10:26 ` trippels at gcc dot gnu.org
2014-12-08 13:24 ` rguenth at gcc dot gnu.org
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-12-08 10:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-12-08
Target Milestone|--- |5.0
Summary|ICE during compilation with |[5 Regression] ICE:
|-fno-rtti -O3 |Segmentation fault
| |(symtab_node::get_alias_tar
| |get()) running Boost
| |testsuite
Ever confirmed|0 |1
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Reducing...
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (2 preceding siblings ...)
2014-12-08 10:26 ` [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite trippels at gcc dot gnu.org
@ 2014-12-08 13:24 ` rguenth at gcc dot gnu.org
2014-12-08 18:56 ` trippels at gcc dot gnu.org
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-08 13:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (3 preceding siblings ...)
2014-12-08 13:24 ` rguenth at gcc dot gnu.org
@ 2014-12-08 18:56 ` trippels at gcc dot gnu.org
2014-12-08 19:37 ` trippels at gcc dot gnu.org
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-12-08 18:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 34221
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34221&action=edit
Somewhat reduced testcase
Somewhat reduced, still over 1000 lines of code.
trippels@gcc20 boost_root % g++ -w -c -O2 -std=c++11 recursive_variant_test.ii
recursive_variant_test.ii:1450:1: internal compiler error: Segmentation fault
}
^
0xcc9fef crash_signal
../../gcc/gcc/toplev.c:358
0x900e72 symtab_node::get_alias_target()
../../gcc/gcc/cgraph.h:2247
0x900e72 symtab_node::ultimate_alias_target(availability*)
../../gcc/gcc/symtab.c:1293
0x1314a0a cgraph_node::ultimate_alias_target(availability*)
../../gcc/gcc/cgraph.h:2690
0x1314a0a want_inline_function_to_all_callers_p
../../gcc/gcc/ipa-inline.c:840
0x1314a0a ipa_inline
../../gcc/gcc/ipa-inline.c:2245
0x1314a0a execute
../../gcc/gcc/ipa-inline.c:2558
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] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (4 preceding siblings ...)
2014-12-08 18:56 ` trippels at gcc dot gnu.org
@ 2014-12-08 19:37 ` trippels at gcc dot gnu.org
2014-12-09 12:55 ` marxin at gcc dot gnu.org
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-12-08 19:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r218048.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (5 preceding siblings ...)
2014-12-08 19:37 ` trippels at gcc dot gnu.org
@ 2014-12-09 12:55 ` marxin at gcc dot gnu.org
2014-12-15 17:22 ` antoshkka at gmail dot com
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: marxin at gcc dot gnu.org @ 2014-12-09 12:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Hello.
You are Markus right, that it started with r218048, but it's actually caused
by: r218024. Reason for that is that sreal, utilized for inlining purpose, was
broken between r218008-r218048.
Problematic commit:
2014-11-22 Jan Hubicka <hubicka@ucw.cz>
PR ipa/63671
* ipa-inline-transform.c (can_remove_node_now_p_1): Handle alises
and -fno-devirtualize more carefully.
(can_remove_node_now_p): Update.
Thanks,
Martin
>From gcc-bugs-return-469880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 09 13:12:23 2014
Return-Path: <gcc-bugs-return-469880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5668 invoked by alias); 9 Dec 2014 13:12:22 -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 5538 invoked by uid 48); 9 Dec 2014 13:12:19 -0000
From: "cederman at gaisler dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/64193] [4.8/4.9/5 Regression] Decreased performance after r173250
Date: Tue, 09 Dec 2014 13:12: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.9.2
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cederman at gaisler dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64193-4-oAs4DpojcH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64193-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64193-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/msg00887.txt.bz2
Content-length: 347
https://gcc.gnu.org/bugzilla/show_bug.cgi?idd193
--- Comment #5 from Daniel Cederman <cederman at gaisler dot com> ---
> Probably the regression was mitigated by the partial fix for PR63677:
Yes, that seems to be the case for my attached example. Do you think that the
regression is mitigated in general, or is your attached fix also needed?
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (6 preceding siblings ...)
2014-12-09 12:55 ` marxin at gcc dot gnu.org
@ 2014-12-15 17:22 ` antoshkka at gmail dot com
2015-01-14 23:51 ` larsbj at gullik dot net
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: antoshkka at gmail dot com @ 2014-12-15 17:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
--- Comment #8 from Antony Polukhin <antoshkka at gmail dot com> ---
A few more observations:
* Same Boost test compiles and works well on -mcpu=power8 with -fno-rtti
* Test fails to compile on -mcpu=power8 *WITH RTTI on*:
0x109ccb0b crash_signal
?../../gcc/gcc/toplev.c:358
0x10513e10 symtab_node::get_alias_target()
?../../gcc/gcc/cgraph.h:2250
0x10513e10 symtab_node::ultimate_alias_target(availability*)
?../../gcc/gcc/symtab.c:1302
0x1101f367 cgraph_node::ultimate_alias_target(availability*)
?../../gcc/gcc/cgraph.h:2693
0x1101f367 want_inline_function_to_all_callers_p
?../../gcc/gcc/ipa-inline.c:840
0x1101f367 ipa_inline
?../../gcc/gcc/ipa-inline.c:2249
0x1101f367 execute
?../../gcc/gcc/ipa-inline.c:2562
Here's a whole comand line (just in case):
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC
-std=c++11 -mcpu=power8 -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I".." -c -o
"/home/trippels/results/boost/bin.v2/libs/variant/test/recursive_variant_test.test/gcc-5.0.0/release/pch-off/recursive_variant_test.o"
"../libs/variant/test/recursive_variant_test.cpp"
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (7 preceding siblings ...)
2014-12-15 17:22 ` antoshkka at gmail dot com
@ 2015-01-14 23:51 ` larsbj at gullik dot net
2015-01-16 5:06 ` hubicka at gcc dot gnu.org
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: larsbj at gullik dot net @ 2015-01-14 23:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
Lars Gullik Bjønnes <larsbj at gullik dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |larsbj at gullik dot net
--- Comment #9 from Lars Gullik Bjønnes <larsbj at gullik dot net> ---
I see the same segfault also outside of the boost testsuite,
have not been able to produce a test case that is uploadable.
(without significant reduction I am not allowed to post the code.)
>From gcc-bugs-return-473270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 23:51:45 2015
Return-Path: <gcc-bugs-return-473270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28988 invoked by alias); 14 Jan 2015 23:51:44 -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 28963 invoked by uid 48); 14 Jan 2015 23:51:39 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libffi/64607] [5 Regression] Multilib test stops working in libffi
Date: Wed, 14 Jan 2015 23:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libffi
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-64607-4-554UmzwCMV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64607-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64607-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: 2015-01/txt/msg01264.txt.bz2
Content-length: 396
https://gcc.gnu.org/bugzilla/show_bug.cgi?idd607
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-01-14
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (8 preceding siblings ...)
2015-01-14 23:51 ` larsbj at gullik dot net
@ 2015-01-16 5:06 ` hubicka at gcc dot gnu.org
2015-01-16 8:33 ` trippels at gcc dot gnu.org
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-01-16 5:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Wonder if this one is fixed, too...
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (9 preceding siblings ...)
2015-01-16 5:06 ` hubicka at gcc dot gnu.org
@ 2015-01-16 8:33 ` trippels at gcc dot gnu.org
2015-01-18 21:41 ` hubicka at gcc dot gnu.org
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-01-16 8:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
--- Comment #11 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #10)
> Wonder if this one is fixed, too...
No. It still crashes.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (10 preceding siblings ...)
2015-01-16 8:33 ` trippels at gcc dot gnu.org
@ 2015-01-18 21:41 ` hubicka at gcc dot gnu.org
2015-01-18 22:11 ` trippels at gcc dot gnu.org
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-01-18 21:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Would be possible to upload updated testcase? The reduced one seems to work for
me on both x86-64 and ppc64.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (11 preceding siblings ...)
2015-01-18 21:41 ` hubicka at gcc dot gnu.org
@ 2015-01-18 22:11 ` trippels at gcc dot gnu.org
2015-01-18 22:41 ` hubicka at gcc dot gnu.org
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-01-18 22:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
--- Comment #13 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 34479
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34479&action=edit
unreduced testcase
Unreduced testcase is attached. Crashes both on ppc64 and x86_64.
% g++ -w -c -O3 -std=c++11 recursive_variant_test.ii
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (12 preceding siblings ...)
2015-01-18 22:11 ` trippels at gcc dot gnu.org
@ 2015-01-18 22:41 ` hubicka at gcc dot gnu.org
2015-01-19 20:47 ` hubicka at gcc dot gnu.org
2015-01-19 20:47 ` hubicka at gcc dot gnu.org
15 siblings, 0 replies; 17+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-01-18 22:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
--- Comment #14 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Good, now it reproduces. The problem is that inliner removes the alias target
and it leaves the alias itself to be removed by remove_unreachable_nodes. It
however manages to crash ealrier looking if the alias shall be inlined as
called once in somewhat convoluted test whether symbol is an alias.
Index: ipa-inline.c
===================================================================
--- ipa-inline.c (revision 219826)
+++ ipa-inline.c (working copy)
@@ -866,7 +866,8 @@ want_inline_function_to_all_callers_p (s
{
bool has_hot_call = false;
- if (node->ultimate_alias_target () != node)
+ /* Aliases gets inlined along with the function they alias. */
+ if (node->alias)
return false;
/* Already inlined? */
if (node->global.inlined_to)
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (13 preceding siblings ...)
2015-01-18 22:41 ` hubicka at gcc dot gnu.org
@ 2015-01-19 20:47 ` hubicka at gcc dot gnu.org
2015-01-19 20:47 ` hubicka at gcc dot gnu.org
15 siblings, 0 replies; 17+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-01-19 20:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #16 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
` (14 preceding siblings ...)
2015-01-19 20:47 ` hubicka at gcc dot gnu.org
@ 2015-01-19 20:47 ` hubicka at gcc dot gnu.org
15 siblings, 0 replies; 17+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-01-19 20:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
--- Comment #15 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Mon Jan 19 20:46:15 2015
New Revision: 219859
URL: https://gcc.gnu.org/viewcvs?rev=219859&root=gcc&view=rev
Log:
PR ipa/64218
* ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
whether function is an alias.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-inline.c
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2015-01-19 20:47 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-08 9:13 [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3 antoshkka at gmail dot com
2014-12-08 9:46 ` [Bug ipa/64218] " trippels at gcc dot gnu.org
2014-12-08 9:51 ` trippels at gcc dot gnu.org
2014-12-08 10:26 ` [Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite trippels at gcc dot gnu.org
2014-12-08 13:24 ` rguenth at gcc dot gnu.org
2014-12-08 18:56 ` trippels at gcc dot gnu.org
2014-12-08 19:37 ` trippels at gcc dot gnu.org
2014-12-09 12:55 ` marxin at gcc dot gnu.org
2014-12-15 17:22 ` antoshkka at gmail dot com
2015-01-14 23:51 ` larsbj at gullik dot net
2015-01-16 5:06 ` hubicka at gcc dot gnu.org
2015-01-16 8:33 ` trippels at gcc dot gnu.org
2015-01-18 21:41 ` hubicka at gcc dot gnu.org
2015-01-18 22:11 ` trippels at gcc dot gnu.org
2015-01-18 22:41 ` hubicka at gcc dot gnu.org
2015-01-19 20:47 ` hubicka at gcc dot gnu.org
2015-01-19 20:47 ` hubicka 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).