public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/23294] fold does not fold a*C+a to a*(C+1) or a*C-a to a*(C-1) Date: Sat, 19 Nov 2005 11:29:00 -0000 [thread overview] Message-ID: <20051119112922.16898.qmail@sourceware.org> (raw) In-Reply-To: <bug-23294-6528@http.gcc.gnu.org/bugzilla/> ------- Comment #7 from rguenth at gcc dot gnu dot org 2005-11-19 11:29 ------- Subject: Bug 23294 Author: rguenth Date: Sat Nov 19 11:29:10 2005 New Revision: 107218 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107218 Log: 2005-11-19 Richard Guenther <rguenther@suse.de> PR middle-end/23294 * fold-const.c (fold_plusminus_mult_expr): New function. (fold_binary): Use to canonicalize PLUS_EXPR and MINUS_EXPR cases, remove now unnecessary code. * gcc.dg/tree-ssa/pr23294.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr23294.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23294
next parent reply other threads:[~2005-11-19 11:29 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-23294-6528@http.gcc.gnu.org/bugzilla/> 2005-11-19 11:29 ` rguenth at gcc dot gnu dot org [this message] 2005-11-19 11:31 ` rguenth at gcc dot gnu dot org 2005-08-09 3:06 [Bug middle-end/23294] New: fold does not fold a*2-a to a pinskia at gcc dot gnu dot org 2005-08-10 0:49 ` [Bug middle-end/23294] fold does not fold a*C+a to a*(C+1) or a*C-a to a*(C-1) pinskia at gcc dot gnu dot org 2005-08-10 9:24 ` rguenth at gcc dot gnu dot org 2005-08-10 10:27 ` pinskia at gcc dot gnu dot org 2005-08-26 9:35 ` rguenth at gcc dot gnu dot org 2005-08-26 13:57 ` rguenth at gcc dot gnu dot 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=20051119112922.16898.qmail@sourceware.org \ --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: linkBe 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).