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



             Bug #: 55600

           Summary: excessive size of vectorized code

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: tree-optimization

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: nel...@seznam.cz





Consider following code:



int sum(int *s){long i;

  int su=0;

  for(i=0;i<128;i+=2) su+=s[i]*s[i+1];

  return su;

}



When compiled by latest gcc with -O3 then generated assembly has 1099 bytes.

Reply via email to