public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/19431] missed optimization with ifs and deferencing
Date: Wed, 18 Apr 2007 11:45:00 -0000	[thread overview]
Message-ID: <20070418114529.19654.qmail@sourceware.org> (raw)
In-Reply-To: <bug-19431-6528@http.gcc.gnu.org/bugzilla/>



------- Comment #18 from rguenth at gcc dot gnu dot org  2007-04-18 12:45 -------
Subject: Bug 19431

Author: rguenth
Date: Wed Apr 18 12:45:09 2007
New Revision: 123946

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123946
Log:
2007-04-18  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/19431
        PR tree-optimization/21463
        * tree-pass.h (pass_phiprop): Declare.
        * passes.c (init_optimization_passes): New phiprop pass.
        * tree-ssa-forwprop.c (struct phiprop_d): New structure.
        (phivn_valid_p): New helper function.
        (phiprop_insert_phi): Likewise.
        (propagate_with_phi): Likewise.
        (tree_ssa_phiprop): New propagator propagating loads
        through phi nodes if profitable.

        * gcc.c-torture/execute/20070212-1.c: New testcase.
        * gcc.c-torture/execute/20070212-2.c: Likewise.
        * gcc.c-torture/execute/20070212-3.c: Likewise.
        * gcc.dg/tree-ssa/pr19431.c: Likewise.
        * gcc.dg/tree-ssa/pr21463.c: Likewise.
        * g++.dg/tree-ssa/pr21463.C: Likewise.
        * g++.dg/tree-ssa/pr30738.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr21463.C
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr30738.C
    trunk/gcc/testsuite/gcc.c-torture/execute/20070212-1.c
    trunk/gcc/testsuite/gcc.c-torture/execute/20070212-2.c
    trunk/gcc/testsuite/gcc.c-torture/execute/20070212-3.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr19431.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr21463.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/passes.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-pass.h
    trunk/gcc/tree-ssa-forwprop.c


-- 


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


  parent reply	other threads:[~2007-04-18 11:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-19431-6528@http.gcc.gnu.org/bugzilla/>
2006-02-05 15:37 ` pinskia at gcc dot gnu dot org
2006-12-19 21:16 ` pinskia at gcc dot gnu dot org
2006-12-20  9:58 ` steven at gcc dot gnu dot org
2007-02-09 14:46 ` pinskia at gcc dot gnu dot org
2007-02-09 14:48 ` rguenth at gcc dot gnu dot org
2007-02-25 19:00 ` pluto at agmk dot net
2007-02-25 19:52 ` rguenth at gcc dot gnu dot org
2007-02-25 20:09 ` pluto at agmk dot net
2007-02-25 22:01 ` pinskia at gcc dot gnu dot org
2007-02-25 22:23 ` rguenth at gcc dot gnu dot org
2007-02-25 22:50 ` rguenth at gcc dot gnu dot org
2007-02-25 22:51 ` rguenth at gcc dot gnu dot org
2007-02-26 10:33 ` rguenth at gcc dot gnu dot org
2007-04-18 11:45 ` rguenth at gcc dot gnu dot org [this message]
2007-04-18 11:48 ` rguenth at gcc dot gnu dot org
2007-04-18 12:02 ` pluto at agmk dot net
2007-04-18 13:45 ` rguenth at gcc dot gnu dot org
2007-04-18 18:18 ` pluto at agmk dot net
2007-04-18 18:21 ` pinskia at gcc dot gnu dot org
2005-01-13 21:38 [Bug tree-optimization/19431] New: " pinskia at gcc dot gnu dot org
2005-01-13 21:42 ` [Bug tree-optimization/19431] " steven at gcc dot gnu dot org
2005-01-13 21:43 ` pinskia at gcc dot gnu dot org
2005-01-13 21:54 ` pinskia at gcc dot gnu dot org
2005-01-14 13:32 ` pinskia at gcc dot gnu dot org
2005-01-15  0:22 ` dberlin at dberlin dot 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=20070418114529.19654.qmail@sourceware.org \
    --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).