public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/46984] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining -flto
Date: Mon, 03 Jan 2011 13:07:00 -0000	[thread overview]
Message-ID: <bug-46984-4-ryUhUHA5Pq@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-46984-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46984

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-01-03 13:06:58 UTC ---
Author: jamborm
Date: Mon Jan  3 13:06:54 2011
New Revision: 168420

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168420
Log:
2011-01-03  Martin Jambor  <mjambor@suse.cz>

    PR tree-optimization/46984
    * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
    HOST_WIDE_INT.
    (cgraph_create_indirect_edge): Fixed line length.
    (cgraph_indirect_call_info): Declare.
    (cgraph_make_edge_direct) Update declaration.
    * cgraph.c (cgraph_allocate_init_indirect_info): New function.
    (cgraph_create_indirect_edge): Use it.
    (cgraph_make_edge_direct): Made delta HOST_WIDE_INT.  Updated all
    callees.
    * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
    the new thunk_delta representation.
    * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
    HOST_WIDE_INT.
    (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
    (ipa_read_indirect_edge_info): Likewise.
    * lto-cgraph.c (output_edge_opt_summary): New function.
    (output_node_opt_summary): Call it on all outgoing edges.
    (input_edge_opt_summary): New function.
    (input_node_opt_summary): Call it on all outgoing edges.

    * testsuite/g++.dg/ipa/pr46984.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/ipa/pr46984.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.c
    trunk/gcc/cgraph.h
    trunk/gcc/cgraphunit.c
    trunk/gcc/ipa-prop.c
    trunk/gcc/lto-cgraph.c
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2011-01-03 13:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16 22:08 [Bug tree-optimization/46984] New: " zsojka at seznam dot cz
2010-12-17 13:48 ` [Bug tree-optimization/46984] " jamborm at gcc dot gnu.org
2010-12-21 15:12 ` jamborm at gcc dot gnu.org
2010-12-27 19:08 ` jakub at gcc dot gnu.org
2011-01-03 13:07 ` jamborm at gcc dot gnu.org [this message]
2011-01-03 13:09 ` jamborm 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-46984-4-ryUhUHA5Pq@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).