This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22372] New: Vectorizer produces mis-match types
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2005 15:54:24 -0000
- Subject: [Bug tree-optimization/22372] New: Vectorizer produces mis-match types
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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