public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/57521] [4.7/4.8/4.9 Regression] wrong code for expressions in loop at -O3
Date: Mon, 24 Jun 2013 13:48:00 -0000	[thread overview]
Message-ID: <bug-57521-4-WoV0cOJF99@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57521-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's if-conversion (we do not vectorize anything here).  The predicates
are inserted correctly but the wrong ones are being used for the
predication.  That is because the predecessor edge we chose in
find_phi_replacement_condition is not fallthru and thus the predicate
we chose is bogus.  It seems to assume that critical edges are split.

I have a patch.


  parent reply	other threads:[~2013-06-24 13:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-04  0:47 [Bug tree-optimization/57521] New: " dhazeghi at yahoo dot com
2013-06-04  5:33 ` [Bug tree-optimization/57521] [4.7/4.8/4.9 Regression] " jakub at gcc dot gnu.org
2013-06-04 12:19 ` rguenth at gcc dot gnu.org
2013-06-24 13:48 ` rguenth at gcc dot gnu.org [this message]
2013-08-27 10:12 ` [Bug tree-optimization/57521] [4.7/4.8 " rguenth at gcc dot gnu.org
2013-09-09  9:51 ` rguenth at gcc dot gnu.org
2013-10-25 10:30 ` [Bug tree-optimization/57521] [4.7 " rguenth at gcc dot gnu.org
2014-03-18  8:47 ` rguenth at gcc dot gnu.org
2014-03-18  8:47 ` rguenth 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-57521-4-WoV0cOJF99@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).