public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/58385] [4.7/4.8/4.9 Regression] likely wrong code bug
Date: Wed, 11 Sep 2013 12:17:00 -0000	[thread overview]
Message-ID: <bug-58385-4-xri9emzXMF@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58385-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep 11 12:17:47 2013
New Revision: 202495

URL: http://gcc.gnu.org/viewcvs?rev=202495&root=gcc&view=rev
Log:
    PR tree-optimization/58385
    * fold-const.c (build_range_check): If both low and high are NULL,
    use omit_one_operand_loc to preserve exp side-effects.

    * gcc.c-torture/execute/pr58385.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/pr58385.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/fold-const.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2013-09-11 12:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 17:11 [Bug c/58385] New: " regehr at cs dot utah.edu
2013-09-10 18:06 ` [Bug middle-end/58385] " glisse at gcc dot gnu.org
2013-09-10 18:33 ` [Bug middle-end/58385] [4.7/4.8/4.9 Regression] " jakub at gcc dot gnu.org
2013-09-10 18:55 ` jakub at gcc dot gnu.org
2013-09-11 11:35 ` jakub at gcc dot gnu.org
2013-09-11 12:17 ` jakub at gcc dot gnu.org [this message]
2013-09-11 12:19 ` [Bug middle-end/58385] [4.7 " jakub at gcc dot gnu.org
2014-06-12 13:29 ` 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-58385-4-xri9emzXMF@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).