public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/63761] [5 Regression] error: gimple_bb (stmt) is set to a wrong basic block
Date: Wed, 12 Nov 2014 09:50:00 -0000	[thread overview]
Message-ID: <bug-63761-4-QVCnPGM7Zi@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63761-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63761

--- Comment #5 from thopre01 at gcc dot gnu.org ---
Author: thopre01
Date: Wed Nov 12 09:50:20 2014
New Revision: 217409

URL: https://gcc.gnu.org/viewcvs?rev=217409&root=gcc&view=rev
Log:
2014-11-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR tree-optimization/63761
    * tree-ssa-math-opts.c (bswap_replace): Construct gsi from cur_stmt
    rather than taking it as a parameter. Add some comments to explain the
    gsi_move_before in case of load and why canonicalization of bswap into
    a rotation is only done for 16bit values.
    (pass_optimize_bswap::execute): Adapt for loop via gsi to make gsi
    refer to the statement just before cur_stmt. Ignore 16bit bswap that
    are already in canonical form. Adapt bswap_replace to removal of its
    gsi parameter.

    2014-11-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/testsuite/
    PR tree-optimization/63761
    * gcc.c-torture/compile/pr63761.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr63761.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-math-opts.c


      parent reply	other threads:[~2014-11-12  9:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06 11:56 [Bug middle-end/63761] New: " trippels at gcc dot gnu.org
2014-11-06 19:08 ` [Bug middle-end/63761] " rguenth at gcc dot gnu.org
2014-11-06 21:10 ` trippels at gcc dot gnu.org
2014-11-07  9:45 ` thopre01 at gcc dot gnu.org
2014-11-07  9:46 ` thopre01 at gcc dot gnu.org
2014-11-11 17:03 ` thopre01 at gcc dot gnu.org
2014-11-12  9:50 ` thopre01 at gcc dot gnu.org [this message]

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-63761-4-QVCnPGM7Zi@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).