public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "vogt at linux dot vnet.ibm.com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66363] New: ICE in modified test inline-36.c Date: Mon, 01 Jun 2015 15:12:00 -0000 [thread overview] Message-ID: <bug-66363-4@http.gcc.gnu.org/bugzilla/> (raw) 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 --
next reply other threads:[~2015-06-01 15:12 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-06-01 15:12 vogt at linux dot vnet.ibm.com [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-66363-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).