public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ams at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/50717] [4.7 Regression] Silent code gen fault with incorrect widening of multiply
Date: Tue, 18 Oct 2011 19:57:00 -0000	[thread overview]
Message-ID: <bug-50717-4-6RUr9t9esr@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-50717-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Andrew Stubbs <ams at gcc dot gnu.org> 2011-10-18 19:57:19 UTC ---
Author: ams
Date: Tue Oct 18 19:57:15 2011
New Revision: 180164

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180164
Log:
2011-10-18  Andrew Stubbs  <ams@codesourcery.com>

    PR tree-optimization/50717

    gcc/
    * tree-ssa-math-opts.c (is_widening_mult_p): Remove the 'type'
    parameter.  Calculate 'type' from stmt.
    (convert_mult_to_widen): Update call the is_widening_mult_p.
    (convert_plusminus_to_widen): Likewise.

    gcc/testsuite/
    * gcc.dg/pr50717-1.c: New file.
    * gcc.target/arm/wmul-12.c: Correct types.
    * gcc.target/arm/wmul-8.c: Correct types.



Added:
    trunk/gcc/testsuite/gcc.dg/pr50717-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/arm/wmul-12.c
    trunk/gcc/testsuite/gcc.target/arm/wmul-8.c
    trunk/gcc/tree-ssa-math-opts.c


  parent reply	other threads:[~2011-10-18 19:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13 15:48 [Bug tree-optimization/50717] New: " mgretton at sourceware dot org
2011-10-13 15:49 ` [Bug tree-optimization/50717] " mgretton at sourceware dot org
2011-10-13 15:50 ` mgretton at sourceware dot org
2011-10-13 15:51 ` mgretton at sourceware dot org
2011-10-13 16:54 ` ams at gcc dot gnu.org
2011-10-14  9:29 ` [Bug tree-optimization/50717] [4.7 Regression] " rguenth at gcc dot gnu.org
2011-10-14 15:26 ` ams at gcc dot gnu.org
2011-10-15 21:29 ` ams at gcc dot gnu.org
2011-10-18 19:57 ` ams at gcc dot gnu.org [this message]
2011-10-19 14:41 ` ams 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-50717-4-6RUr9t9esr@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).