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 tree-optimization/61306] [4.10 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Mon, 30 Jun 2014 01:59:00 -0000	[thread overview]
Message-ID: <bug-61306-4-m6R8V6iDxl@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61306-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from thopre01 at gcc dot gnu.org ---
Author: thopre01
Date: Mon Jun 30 01:58:45 2014
New Revision: 212133

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

    Backport from mainline
    2014-06-20  Jakub Jelinek  <jakub@redhat.com>
    2014-06-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR tree-optimization/61306
    * tree-ssa-math-opts.c (struct symbolic_number): Store type of
    expression instead of its size.
    (do_shift_rotate): Adapt to change in struct symbolic_number. Return
    false to prevent optimization when the result is unpredictable due to
    arithmetic right shift of signed type with highest byte is set.
    (verify_symbolic_number_p): Adapt to change in struct symbolic_number.
    (find_bswap_1): Likewise. Return NULL to prevent optimization when the
    result is unpredictable due to sign extension.
    (find_bswap): Adapt to change in struct symbolic_number.

    gcc/testsuite/
    * gcc.c-torture/execute/pr61306-1.c: New test.
    * gcc.c-torture/execute/pr61306-2.c: Likewise.
    * gcc.c-torture/execute/pr61306-3.c: Likewise.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr61306-1.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr61306-2.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr61306-3.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-ssa-math-opts.c


  parent reply	other threads:[~2014-06-30  1:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-25  2:58 [Bug tree-optimization/61306] New: " su at cs dot ucdavis.edu
2014-05-26 12:20 ` [Bug tree-optimization/61306] [4.10 Regression] " rguenth at gcc dot gnu.org
2014-05-26 12:22 ` rguenth at gcc dot gnu.org
2014-05-27  5:50 ` thomas.preudhomme at arm dot com
2014-05-28 11:47 ` thomas.preudhomme at arm dot com
2014-05-30  6:40 ` thomas.preudhomme at arm dot com
2014-06-11 10:05 ` thopre01 at gcc dot gnu.org
2014-06-11 10:06 ` thopre01 at gcc dot gnu.org
2014-06-30  1:59 ` thopre01 at gcc dot gnu.org [this message]
2014-06-30  2:12 ` thopre01 at gcc dot gnu.org
2014-07-03 21:45 ` olegendo at gcc dot gnu.org
2014-07-04  4:41 ` thopre01 at gcc dot gnu.org
2014-11-19 13:39 ` [Bug tree-optimization/61306] [5 " 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-61306-4-m6R8V6iDxl@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).