public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/61324] [5 Regression] ICE: SIGSEGV at ipa-comdats.c:321 with -fno-use-cxa-atexit -fkeep-inline-functions
Date: Thu, 11 Dec 2014 21:49:00 -0000	[thread overview]
Message-ID: <bug-61324-4-VbyYKP2Lw8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61324-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61324

--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Thu Dec 11 21:48:48 2014
New Revision: 218640

URL: https://gcc.gnu.org/viewcvs?rev=218640&root=gcc&view=rev
Log:

    PR ipa/61324
    * testsuite/g++.dg/pr61324.C: New testcase by Trevor Saunders.
    * testsuite/g++.dg/tm/pr51411-2.C: Update se the extern function is
    not eliminated early.
    * testsuite/gcc.target/i386/pr57756.c: Turn extern inline into static
    inline.

    * passes.c (execute_todo): Update call of remove_unreachable_nodes.
    * ipa-chkp.c (chkp_produce_thunks): Use TODO_remove_functions.
    * cgraphunit.c (symbol_table::process_new_functions): Add
    IPA_SSA_AFTER_INLINING.
    (ipa_passes): Update call of remove_unreachable_nodes.
    (symbol_table::compile): Remove call of remove_unreachable_nodes.
    * ipa-inline.c (inline_small_functions): Do not ICE with
    -flto-partition=none
    (ipa_inline): Update symtab->state; fix formatting
    update call of remove_unreachable_nodes.
    * cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
    * cgraph.h (enum symtab_state): Add IPA_SSA_AFTER_INLINING.
    (remove_unreachable_nodes): Update.
    * ipa.c (process_references): Keep external references only
    when optimizing.
    (walk_polymorphic_call_targets): Keep possible polymorphic call
    target only when devirtualizing.
    (symbol_table::remove_unreachable_nodes): Remove BEFORE_INLINING_P
    parameter.
    (ipa_single_use): Update comment.
    * ipa-pure-const.c (cdtor_p): New function.
    (propagate_pure_const): Track if some cdtor was turned pure/const.
    (execute): Return TODO_remove_functions if needed.
    * ipa-comdats.c (ipa_comdats): Update comment.

    * lto.c (read_cgraph_and_symbols): Update call of
    remove_unreachable_nodes.
    (do_whole_program_analysis): Remove call of
    symtab->remove_unreachable_nodes

Added:
    trunk/gcc/testsuite/g++.dg/pr61324.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.h
    trunk/gcc/cgraphclones.c
    trunk/gcc/cgraphunit.c
    trunk/gcc/ipa-chkp.c
    trunk/gcc/ipa-comdats.c
    trunk/gcc/ipa-inline.c
    trunk/gcc/ipa-pure-const.c
    trunk/gcc/ipa.c
    trunk/gcc/lto/ChangeLog
    trunk/gcc/lto/lto.c
    trunk/gcc/passes.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/tm/pr51411-2.C
    trunk/gcc/testsuite/gcc.target/i386/pr57756.c


  parent reply	other threads:[~2014-12-11 21:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-61324-4@http.gcc.gnu.org/bugzilla/>
2014-05-27  7:38 ` [Bug ipa/61324] [4.10 " rguenth at gcc dot gnu.org
2014-11-19 13:41 ` [Bug ipa/61324] [5 " rguenth at gcc dot gnu.org
2014-11-23  7:33 ` tbsaunde at gcc dot gnu.org
2014-11-23 15:27 ` hjl.tools at gmail dot com
2014-12-11 21:49 ` hubicka at gcc dot gnu.org [this message]
2014-12-15  3:54 ` hubicka at gcc dot gnu.org
2014-12-15  6:33 ` hubicka at gcc dot gnu.org
2014-12-15  6:39 ` hubicka 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-61324-4-VbyYKP2Lw8@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: link
Be 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).