public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/18316] New: Missed IV optimization
@ 2004-11-06 16:39 steven at gcc dot gnu dot org
  2004-11-06 17:00 ` [Bug tree-optimization/18316] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 18+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-11-06 16:39 UTC (permalink / raw)
  To: gcc-bugs

The following test case from Briggs' optimization test suite is 
missed by tree IV opts (and nothing on RTL catches this either): 
 
void 
strength_test2(int *data) 
{ 
  int k = data[0]; 
  int i = 0; 
  do { 
    data[data[2]] = 2; 
    i = i + 1; 
  } while (i * k < data[1]); 
} 
 
void 
strength_result2(int *data) 
{ 
  int k = data[0]; 
  int i = 0; 
  do { 
    data[data[2]] = 2; 
    i = i + k; 
  } while (i < data[1]); 
}

-- 
           Summary: Missed IV optimization
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: rakdver at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <bug-18316-280@http.gcc.gnu.org/bugzilla/>]
[parent not found: <bug-18316-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-11-08 23:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06 16:39 [Bug tree-optimization/18316] New: Missed IV optimization steven at gcc dot gnu dot org
2004-11-06 17:00 ` [Bug tree-optimization/18316] " pinskia at gcc dot gnu dot org
2005-01-23 14:37 ` steven at gcc dot gnu dot org
2005-01-23 14:58 ` rakdver at gcc dot gnu dot org
2005-01-24  9:12 ` stevenb at suse dot de
2005-01-25 11:35 ` rakdver at gcc dot gnu dot org
2005-01-30 14:41 ` pinskia at gcc dot gnu dot org
2005-02-02  8:56 ` rakdver at gcc dot gnu dot org
2005-02-13  0:11 ` pinskia at gcc dot gnu dot org
2005-04-18  9:33 ` rakdver at gcc dot gnu dot org
2005-05-01  8:08 ` cvs-commit at gcc dot gnu dot org
2005-05-01 13:49 ` pinskia at gcc dot gnu dot org
2005-05-01 13:49 ` pinskia at gcc dot gnu dot org
2005-07-08 18:19 ` pinskia at gcc dot gnu dot org
     [not found] <bug-18316-280@http.gcc.gnu.org/bugzilla/>
2007-12-17  8:14 ` steven at gcc dot gnu dot org
2008-09-14  4:03 ` pinskia at gcc dot gnu dot org
2010-02-12 21:46 ` steven at gcc dot gnu dot org
     [not found] <bug-18316-4@http.gcc.gnu.org/bugzilla/>
2012-11-08 23:00 ` steven at gcc dot gnu.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).