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 middle-end/55555] [4.8 Regression] miscompilation at -O2 (number_of_iterations)
Date: Tue, 18 Dec 2012 13:13:00 -0000	[thread overview]
Message-ID: <bug-55555-4-SXbM2MbMPv@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55555-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-18 13:12:39 UTC ---
Author: rguenth
Date: Tue Dec 18 13:12:34 2012
New Revision: 194578

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

    PR tree-optimization/55555
    * tree-ssa-loop-niter.c (idx_infer_loop_bounds): Properly
    analyze evolution of the index for the loop it is used in.
    * tree-scalar-evolution.c (instantiate_scev_name): Take
    inner loop we will be creating a chrec for.  Generalize
    fix for PR40281 and prune invalid SCEVs.
    (instantiate_scev_poly): Likewise - pass down inner loop
    we will be creating a chrec for.
    (instantiate_scev_binary): Take and pass through inner loop.
    (instantiate_array_ref): Likewise.
    (instantiate_scev_convert): Likewise.
    (instantiate_scev_not): Likewise.
    (instantiate_scev_3): Likewise.
    (instantiate_scev_2): Likewise.
    (instantiate_scev_1): Likewise.
    (instantiate_scev_r): Likewise.
    (resolve_mixers): Adjust.
    (instantiate_scev): Likewise.

    * gcc.dg/torture/pr55555.c: New testcase.
    * gcc.dg/vect/vect-iv-11.c: Adjust.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr55555.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/vect/vect-iv-11.c
    trunk/gcc/tree-scalar-evolution.c
    trunk/gcc/tree-ssa-loop-niter.c


  parent reply	other threads:[~2012-12-18 13:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-01 15:46 [Bug middle-end/55555] New: [4.8 Regression] miscompilation at -O2 Joost.VandeVondele at mat dot ethz.ch
2012-12-01 15:53 ` [Bug middle-end/55555] [4.8 Regression] miscompilation at -O2 (tree-pre?) Joost.VandeVondele at mat dot ethz.ch
2012-12-01 17:03 ` dominiq at lps dot ens.fr
2012-12-01 19:17 ` hjl.tools at gmail dot com
2012-12-02  9:59 ` hubicka at gcc dot gnu.org
2012-12-02 10:11 ` Joost.VandeVondele at mat dot ethz.ch
2012-12-02 11:04 ` hubicka at ucw dot cz
2012-12-07  9:45 ` jakub at gcc dot gnu.org
2012-12-07 12:28 ` [Bug middle-end/55555] [4.8 Regression] miscompilation at -O2 (number_of_iterations) jakub at gcc dot gnu.org
2012-12-14 13:49 ` rguenth at gcc dot gnu.org
2012-12-14 14:12 ` rguenth at gcc dot gnu.org
2012-12-17 10:15 ` rguenth at gcc dot gnu.org
2012-12-17 12:15 ` rguenth at gcc dot gnu.org
2012-12-18 13:13 ` rguenth at gcc dot gnu.org [this message]
2012-12-18 13:30 ` rguenth at gcc dot gnu.org
2014-12-10 12:40 ` 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-55555-4-SXbM2MbMPv@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).