This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/22372] New: Vectorizer produces mis-match types


Testcase:
void f(int *);

int main ()
{
  int i;
  char ia[16];
  char ic[16] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
  char ib[16] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
  for (i = 0; i < 16; i++)
      ia[i] = ib[i] + ic[i];
  f(ia);
  return 0;
}

See PR 22368 for the patch which catches this.

-- 
           Summary: Vectorizer produces mis-match types
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 22368
             nThis:


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]