public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/35308]  New: Straight line strength reduction
@ 2008-02-23  5:23 xinliangli at gmail dot com
  2008-02-23  5:27 ` [Bug middle-end/35308] " pinskia at gcc dot gnu dot org
  2008-02-23  6:56 ` xinliangli at gmail dot com
  0 siblings, 2 replies; 7+ messages in thread
From: xinliangli at gmail dot com @ 2008-02-23  5:23 UTC (permalink / raw)
  To: gcc-bugs

Seems to be a missing functionality

int a[100];
int g;
void foo(int i)
{

     a[i] = i*g;
     i++;
     a[i] = i*g;
     i++;
     a[i] = i*g;
}

Both array address computation and RHS mpy operations can be strength reduced.


-- 
           Summary: Straight line strength reduction
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: xinliangli at gmail dot com


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


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

end of thread, other threads:[~2013-07-17  3:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23  5:23 [Bug middle-end/35308] New: Straight line strength reduction xinliangli at gmail dot com
2008-02-23  5:27 ` [Bug middle-end/35308] " pinskia at gcc dot gnu dot org
2008-02-23  6:56 ` xinliangli at gmail dot com
     [not found] <bug-35308-4@http.gcc.gnu.org/bugzilla/>
2012-06-28  1:36 ` wschmidt at gcc dot gnu.org
2013-03-22 14:48 ` jakub at gcc dot gnu.org
2013-03-25 13:17 ` wschmidt at gcc dot gnu.org
2013-07-17  3:27 ` wschmidt 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).