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/57656] [4.7 Regression] Wrong constant folding
Date: Tue, 18 Mar 2014 08:47:00 -0000	[thread overview]
Message-ID: <bug-57656-4-V4Qw1P6W2q@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57656-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Mar 18 08:46:21 2014
New Revision: 208632

URL: http://gcc.gnu.org/viewcvs?rev=208632&root=gcc&view=rev
Log:
2014-03-18  Richard Biener  <rguenther@suse.de>

    Backport from mainline
    2013-08-27  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/57521
    * tree-if-conv.c (if_convertible_bb_p): Verify that at least
    one edge is non-critical.
    (find_phi_replacement_condition): Make sure to use a non-critical
    edge.  Cleanup and remove old bug workarounds.
    (bb_postdominates_preds): Remove.
    (if_convertible_loop_p_1): Do not compute post-dominators.
    (combine_blocks): Do not free post-dominators.
    (main_tree_if_conversion): Likewise.

    * gcc.dg/torture/pr57521.c: New testcase.

    2013-09-03  Richard Biener  <rguenther@suse.de>

    PR middle-end/57656
    * fold-const.c (negate_expr_p): Fix division case.
    (negate_expr): Likewise.

    * gcc.dg/torture/pr57656.c: New testcase.

    2013-11-19  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/57517
    * tree-predcom.c (combinable_refs_p): Verify the combination
    is always executed when the refs are.

    * gfortran.fortran-torture/compile/pr57517.f90: New testcase.
    * gcc.dg/torture/pr57517.c: Likewise.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr57517.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr57521.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr57656.c
   
branches/gcc-4_7-branch/gcc/testsuite/gfortran.fortran-torture/compile/pr57517.f90
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/fold-const.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/tree-if-conv.c
    branches/gcc-4_7-branch/gcc/tree-predcom.c


  parent reply	other threads:[~2014-03-18  8:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-57656-4@http.gcc.gnu.org/bugzilla/>
2013-06-20  6:14 ` [Bug tree-optimization/57656] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
2013-06-20  9:06 ` rguenth at gcc dot gnu.org
2013-06-24 11:55 ` rguenth at gcc dot gnu.org
2013-09-03 10:00 ` rguenth at gcc dot gnu.org
2013-09-03 10:00 ` [Bug tree-optimization/57656] [4.7/4.8 " rguenth at gcc dot gnu.org
2013-09-09  9:49 ` rguenth at gcc dot gnu.org
2014-03-18  8:47 ` rguenth at gcc dot gnu.org [this message]
2014-03-18  8:47 ` [Bug tree-optimization/57656] [4.7 " 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-57656-4-V4Qw1P6W2q@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).