public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/19105] New: fold does not spot anti-range test @ 2004-12-21 12:22 nathan at gcc dot gnu dot org 2004-12-21 12:22 ` [Bug tree-optimization/19105] " nathan at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: nathan at gcc dot gnu dot org @ 2004-12-21 12:22 UTC (permalink / raw) To: gcc-bugs The attached test case shows two equivalent functions, unfortunately the first is not optimized as best as the second. Notice the only different is the placement of some superfluous parentheses. Death to fold-const! -- Summary: fold does not spot anti-range test Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nathan at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19105 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/19105] fold does not spot anti-range test 2004-12-21 12:22 [Bug tree-optimization/19105] New: fold does not spot anti-range test nathan at gcc dot gnu dot org @ 2004-12-21 12:22 ` nathan at gcc dot gnu dot org 2004-12-21 12:23 ` nathan at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: nathan at gcc dot gnu dot org @ 2004-12-21 12:22 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From nathan at gcc dot gnu dot org 2004-12-21 12:22 ------- Created an attachment (id=7793) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7793&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19105 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/19105] fold does not spot anti-range test 2004-12-21 12:22 [Bug tree-optimization/19105] New: fold does not spot anti-range test nathan at gcc dot gnu dot org 2004-12-21 12:22 ` [Bug tree-optimization/19105] " nathan at gcc dot gnu dot org @ 2004-12-21 12:23 ` nathan at gcc dot gnu dot org 2004-12-21 15:52 ` pinskia at gcc dot gnu dot org 2005-07-26 13:21 ` dberlin at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: nathan at gcc dot gnu dot org @ 2004-12-21 12:23 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From nathan at gcc dot gnu dot org 2004-12-21 12:23 ------- Created an attachment (id=7794) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7794&action=view) assembly produced at -O2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19105 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/19105] fold does not spot anti-range test 2004-12-21 12:22 [Bug tree-optimization/19105] New: fold does not spot anti-range test nathan at gcc dot gnu dot org 2004-12-21 12:22 ` [Bug tree-optimization/19105] " nathan at gcc dot gnu dot org 2004-12-21 12:23 ` nathan at gcc dot gnu dot org @ 2004-12-21 15:52 ` pinskia at gcc dot gnu dot org 2005-07-26 13:21 ` dberlin at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-12-21 15:52 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-21 15:52 ------- Fold unlike simplify_rtx does not do as re-association (or really as much as re-association). -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2004-12-21 15:52:02 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19105 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/19105] fold does not spot anti-range test 2004-12-21 12:22 [Bug tree-optimization/19105] New: fold does not spot anti-range test nathan at gcc dot gnu dot org ` (2 preceding siblings ...) 2004-12-21 15:52 ` pinskia at gcc dot gnu dot org @ 2005-07-26 13:21 ` dberlin at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: dberlin at gcc dot gnu dot org @ 2005-07-26 13:21 UTC (permalink / raw) To: gcc-bugs -- Bug 19105 depends on bug 21445, which changed state. Bug 21445 Summary: [meta-bug] we need a reassociate pass http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21445 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19105 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-26 13:14 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-12-21 12:22 [Bug tree-optimization/19105] New: fold does not spot anti-range test nathan at gcc dot gnu dot org 2004-12-21 12:22 ` [Bug tree-optimization/19105] " nathan at gcc dot gnu dot org 2004-12-21 12:23 ` nathan at gcc dot gnu dot org 2004-12-21 15:52 ` pinskia at gcc dot gnu dot org 2005-07-26 13:21 ` dberlin 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).