public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/23115] [4.1 Regression] -ftree-vectorize generates wrong code
Date: Thu, 08 Sep 2005 20:03:00 -0000	[thread overview]
Message-ID: <20050908200335.634.qmail@sourceware.org> (raw)
In-Reply-To: <20050728183954.23115.p.van-hoof@qub.ac.uk>


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-08 20:03 -------
Before:
  if (x_16 < x_26) goto <L3>; else goto <L14>;

<L14>:;

  # x_4 = PHI <x_26(1), x_16(2)>;
<L3>:;
  if (x_16 > n_17) goto <L6>; else goto <L15>;

<L15>:;

  # n_5 = PHI <n_17(3), x_16(4)>;
<L6>:;

After:
  x_4 = x_16 < x_26 ? x_26 : x_16;
  n_5 = 1 ? n_17 : x_16;

That 1 is just wrong.

-- 


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


  parent reply	other threads:[~2005-09-08 20:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28 18:40 [Bug tree-optimization/23115] New: " p dot van-hoof at qub dot ac dot uk
2005-07-28 18:43 ` [Bug tree-optimization/23115] " p dot van-hoof at qub dot ac dot uk
2005-07-28 18:54 ` [Bug tree-optimization/23115] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-09-08 20:03 ` pinskia at gcc dot gnu dot org [this message]
2005-09-09 22:19 ` janis at gcc dot gnu dot org
2005-09-30 23:52 ` dpatel at apple dot com
2005-09-30 23:54 ` pinskia at gcc dot gnu dot org
     [not found] <bug-23115-1396@http.gcc.gnu.org/bugzilla/>
2005-10-22 21:56 ` pinskia at gcc dot gnu dot org
2005-10-31  4:23 ` mmitchel at gcc dot gnu dot org
2005-11-08  2:23 ` dpatel at apple dot com
2005-11-08 20:21 ` dpatel at gcc dot gnu dot org
2005-11-08 22:13 ` pinskia at gcc dot gnu dot org
2007-07-01 13:40 ` ubizjak at gmail dot com
2007-07-04  5:53 ` ubizjak at gmail dot com

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=20050908200335.634.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).