public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/66363] New: ICE in modified test inline-36.c
@ 2015-06-01 15:12 vogt at linux dot vnet.ibm.com
2015-06-03 0:18 ` [Bug target/66363] ICE in modified test inline-39.c hubicka at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vogt at linux dot vnet.ibm.com @ 2015-06-01 15:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66363
Bug ID: 66363
Summary: ICE in modified test inline-36.c
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: vogt at linux dot vnet.ibm.com
Target Milestone: ---
This small test program derived from gcc.dg/inline-39.c (by adding the inline
keyword) exposes an ICE on s390x, but this may be/probably is a problem on all
platforms:
-- snip --
int g;
inline __attribute__((always_inline)) void bar (void)
{
g++;
}
void foo2 (void)
{
bar();
}
-- snip --
Compiling with "-O2 -fdisable-tree-einline=foo2 -fdisable-ipa-inline" results
in an ICE:
-- snip --
cc1: note: disable pass tree-einline for function foo2
cc1: note: disable pass ipa-inline for functions in the range of [0,
4294967295]
bar/1 (bar) @0x3fff0631300
Type: function definition analyzed
Visibility: external public
References: g/0 (read)g/0 (write)
Referring:
Availability: available
First run: 0
Function flags: body nonfreeing_fn
Called by:
Calls:
ice1.c:12:1: internal compiler error: nodes with unreleased memory found
}
^
0x804d6c41 symbol_table::compile()
../../gcc/cgraphunit.c:2413
0x804d6d01 symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2460
0x8029226b c_write_global_declarations()
../../gcc/c/c-decl.c:10824
-- snip --
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/66363] ICE in modified test inline-39.c
2015-06-01 15:12 [Bug target/66363] New: ICE in modified test inline-36.c vogt at linux dot vnet.ibm.com
@ 2015-06-03 0:18 ` hubicka at gcc dot gnu.org
2015-08-06 6:57 ` [Bug ipa/66363] " vogt at linux dot vnet.ibm.com
2021-08-09 2:20 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-06-03 0:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66363
--- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Hmm, ipa-inline's transform pass does fixup_cfg and other things that are not
really optional, so perhaps we should not support disabling it?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ipa/66363] ICE in modified test inline-39.c
2015-06-01 15:12 [Bug target/66363] New: ICE in modified test inline-36.c vogt at linux dot vnet.ibm.com
2015-06-03 0:18 ` [Bug target/66363] ICE in modified test inline-39.c hubicka at gcc dot gnu.org
@ 2015-08-06 6:57 ` vogt at linux dot vnet.ibm.com
2021-08-09 2:20 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vogt at linux dot vnet.ibm.com @ 2015-08-06 6:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66363
Dominik Vogt <vogt at linux dot vnet.ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |ipa
--- Comment #2 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
This also happens on x86_64.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ipa/66363] ICE in modified test inline-39.c
2015-06-01 15:12 [Bug target/66363] New: ICE in modified test inline-36.c vogt at linux dot vnet.ibm.com
2015-06-03 0:18 ` [Bug target/66363] ICE in modified test inline-39.c hubicka at gcc dot gnu.org
2015-08-06 6:57 ` [Bug ipa/66363] " vogt at linux dot vnet.ibm.com
@ 2021-08-09 2:20 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-09 2:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66363
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-08-09
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Still happens on the trunk.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-09 2:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-01 15:12 [Bug target/66363] New: ICE in modified test inline-36.c vogt at linux dot vnet.ibm.com
2015-06-03 0:18 ` [Bug target/66363] ICE in modified test inline-39.c hubicka at gcc dot gnu.org
2015-08-06 6:57 ` [Bug ipa/66363] " vogt at linux dot vnet.ibm.com
2021-08-09 2:20 ` pinskia 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).