public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/41502] New: ICE in expand_call_inline
@ 2009-09-29 13:41 rguenth at gcc dot gnu dot org
2009-09-29 13:46 ` [Bug middle-end/41502] " rguenth at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-29 13:41 UTC (permalink / raw)
To: gcc-bugs
gcc.dg/attr-warn-unused-result.c ICEs in
Program received signal SIGSEGV, Segmentation fault.
0x0000000000c790bc in expand_call_inline (bb=0x7ffff71a0a10,
stmt=0x7ffff7198000, id=0x7fffffffd810)
at /space/rguenther/src/svn/lto/gcc/tree-inline.c:3661
3661 gcc_assert (!id->src_cfun->after_inlining);
(gdb) p cfun
$1 = (struct function *) 0x7ffff7128140
(gdb) p id->src_cfun
$1 = (struct function *) 0x0
--
Summary: ICE in expand_call_inline
Product: gcc
Version: lto
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/41502] ICE in expand_call_inline
2009-09-29 13:41 [Bug middle-end/41502] New: ICE in expand_call_inline rguenth at gcc dot gnu dot org
@ 2009-09-29 13:46 ` rguenth at gcc dot gnu dot org
2009-09-29 14:04 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-29 13:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-29 13:46 -------
Reduced testcase, fails at -O1:
typedef void (*fnt) (void);
extern inline void check3 (void)
{
bar ();
}
void test (void)
{
const fnt pcheck3 = check3;
pcheck3 ();
}
all details important: extern, the call to bar() and the indirect call in test.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-09-29 13:46:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/41502] ICE in expand_call_inline
2009-09-29 13:41 [Bug middle-end/41502] New: ICE in expand_call_inline rguenth at gcc dot gnu dot org
2009-09-29 13:46 ` [Bug middle-end/41502] " rguenth at gcc dot gnu dot org
@ 2009-09-29 14:04 ` rguenth at gcc dot gnu dot org
2009-09-29 14:21 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-29 14:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-29 14:04 -------
static void
ipa_passes (void)
{
...
/* Remove the bodies of extern inline functions that we never
inlined. */
cgraph_remove_unreachable_nodes (false, dump_file);
that's bogus and too early.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2009-09-29 13:46:24 |2009-09-29 14:04:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/41502] ICE in expand_call_inline
2009-09-29 13:41 [Bug middle-end/41502] New: ICE in expand_call_inline rguenth at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-09-29 14:21 ` rguenth at gcc dot gnu dot org
@ 2009-09-29 14:21 ` rguenth at gcc dot gnu dot org
2009-09-30 16:01 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-29 14:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-29 14:21 -------
Subject: Bug 41502
Author: rguenth
Date: Tue Sep 29 14:20:37 2009
New Revision: 152277
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152277
Log:
2009-09-29 Richard Guenther <rguenther@suse.de>
* gcc.dg/visibility-7.c: Revert changes.
PR middle-end/41502
* cgraphunit.c (ipa_passes): Do not remove bodies of extern
inline functions if not generating lto output.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/cgraphunit.c
branches/lto/gcc/testsuite/ChangeLog.lto
branches/lto/gcc/testsuite/gcc.dg/visibility-7.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/41502] ICE in expand_call_inline
2009-09-29 13:41 [Bug middle-end/41502] New: ICE in expand_call_inline rguenth at gcc dot gnu dot org
2009-09-29 13:46 ` [Bug middle-end/41502] " rguenth at gcc dot gnu dot org
2009-09-29 14:04 ` rguenth at gcc dot gnu dot org
@ 2009-09-29 14:21 ` rguenth at gcc dot gnu dot org
2009-09-29 14:21 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-29 14:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-29 14:20 -------
Papered over.
./xgcc -B. -o t.o -shared attr-warn-unused-result.3.i -O -fPIC -flto
still ICEs the old way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/41502] ICE in expand_call_inline
2009-09-29 13:41 [Bug middle-end/41502] New: ICE in expand_call_inline rguenth at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-09-29 14:21 ` rguenth at gcc dot gnu dot org
@ 2009-09-30 16:01 ` rguenth at gcc dot gnu dot org
2009-10-06 10:31 ` rguenth at gcc dot gnu dot org
2009-10-06 10:32 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-30 16:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-09-30 16:00 -------
Subject: Bug 41502
Author: rguenth
Date: Wed Sep 30 16:00:07 2009
New Revision: 152332
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152332
Log:
2009-09-30 Richard Guenther <rguenther@suse.de>
PR middle-end/41502
* lto-cgraph.c (lto_output_node): Mark node as not analyzed
if it is a boundary node.
(input_edge): Remove assertion on extern inlines.
* cgraphunit.c (ipa_passes): Do not free extern inline bodies.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/cgraphunit.c
branches/lto/gcc/lto-cgraph.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/41502] ICE in expand_call_inline
2009-09-29 13:41 [Bug middle-end/41502] New: ICE in expand_call_inline rguenth at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-09-30 16:01 ` rguenth at gcc dot gnu dot org
@ 2009-10-06 10:31 ` rguenth at gcc dot gnu dot org
2009-10-06 10:32 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-06 10:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-06 10:31 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/41502] ICE in expand_call_inline
2009-09-29 13:41 [Bug middle-end/41502] New: ICE in expand_call_inline rguenth at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-10-06 10:31 ` rguenth at gcc dot gnu dot org
@ 2009-10-06 10:32 ` rguenth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-06 10:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2009-10-06 10:31 -------
Subject: Bug 41502
Author: rguenth
Date: Tue Oct 6 10:31:17 2009
New Revision: 152489
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152489
Log:
2009-10-06 Richard Guenther <rguenther@suse.de>
PR lto/41502
* gcc.dg/lto/20091006-1_0.c: New testcase.
* gcc.dg/lto/20091006-1_1.c: Likewise.
* gcc.dg/lto/20091005-2_0.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/lto/20091005-2_0.c
trunk/gcc/testsuite/gcc.dg/lto/20091006-1_0.c
trunk/gcc/testsuite/gcc.dg/lto/20091006-1_1.c
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-10-06 10:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-29 13:41 [Bug middle-end/41502] New: ICE in expand_call_inline rguenth at gcc dot gnu dot org
2009-09-29 13:46 ` [Bug middle-end/41502] " rguenth at gcc dot gnu dot org
2009-09-29 14:04 ` rguenth at gcc dot gnu dot org
2009-09-29 14:21 ` rguenth at gcc dot gnu dot org
2009-09-29 14:21 ` rguenth at gcc dot gnu dot org
2009-09-30 16:01 ` rguenth at gcc dot gnu dot org
2009-10-06 10:31 ` rguenth at gcc dot gnu dot org
2009-10-06 10:32 ` rguenth at gcc dot gnu dot 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).