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/52298] ICE: verify_ssa failed: definition in block follows use
Date: Mon, 20 Feb 2012 15:19:00 -0000	[thread overview]
Message-ID: <bug-52298-4-hSedH17sfr@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-52298-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-20 15:16:00 UTC ---
Author: rguenth
Date: Mon Feb 20 15:15:52 2012
New Revision: 184396

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184396
Log:
2012-02-20  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/52298
    * tree-vect-stmts.c (vectorizable_store): Properly use
    STMT_VINFO_DR_STEP instead of DR_STEP when vectorizing
    outer loops.
    (vectorizable_load): Likewise.
    * tree-vect-data-refs.c (vect_analyze_data_ref_access):
    Access DR_STEP after ensuring it is not NULL.

    * gcc.dg/torture/pr52298.c: New testcase.
    * gcc.dg/vect/pr52298.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr52298.c
    trunk/gcc/testsuite/gcc.dg/vect/pr52298.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-data-refs.c
    trunk/gcc/tree-vect-stmts.c


  parent reply	other threads:[~2012-02-20 15:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-17 15:44 [Bug c/52298] New: " regehr at cs dot utah.edu
2012-02-18 10:24 ` [Bug tree-optimization/52298] " jakub at gcc dot gnu.org
2012-02-20  9:29 ` jakub at gcc dot gnu.org
2012-02-20 12:28 ` rguenth at gcc dot gnu.org
2012-02-20 13:48 ` rguenth at gcc dot gnu.org
2012-02-20 14:19 ` rguenth at gcc dot gnu.org
2012-02-20 15:19 ` rguenth at gcc dot gnu.org [this message]
2012-02-20 15:29 ` rguenth at gcc dot gnu.org
2012-02-29  1:44 ` uweigand 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-52298-4-hSedH17sfr@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).