public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38750] New: (-A) * (-B) -> A * B folding should include constant B
@ 2009-01-06 22:30 rguenth at gcc dot gnu dot org
2009-01-06 22:35 ` [Bug middle-end/38750] " rguenth at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-06 22:30 UTC (permalink / raw)
To: gcc-bugs
So we fold (1 - j) * -2 to (j - 1) * 2.
--
Summary: (-A) * (-B) -> A * B folding should include constant B
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38750
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug middle-end/38750] (-A) * (-B) -> A * B folding should include constant B
2009-01-06 22:30 [Bug middle-end/38750] New: (-A) * (-B) -> A * B folding should include constant B rguenth at gcc dot gnu dot org
@ 2009-01-06 22:35 ` rguenth at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-06 22:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-06 22:35 -------
Hm, we actually already do that?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38750
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-06 22:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-06 22:30 [Bug middle-end/38750] New: (-A) * (-B) -> A * B folding should include constant B rguenth at gcc dot gnu dot org
2009-01-06 22:35 ` [Bug middle-end/38750] " rguenth at gcc dot gnu dot org
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).