[Bug tree-optimization/22526] New: vectorizer produces mis-match types in conditionals

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 17 17:33:00 GMT 2005


take following example (compile with -O1 -ftree-vectorize -maltivec):
void a(unsigned long long __n, int *__new_start)
{
   for (; __n > 0; --__n, ++__new_start)
     *__new_start = 0;
}

With the second patch in PR 22368, we get the following error:
pr18425.c: In function 'a':
pr18425.c:2: error: types mismatch in comparsion
long long unsigned intD.6
intD.0
ratio_mult_vf.38D.1726_33 <= 0;

pr18425.c:2: error: types mismatch in comparsion
long long unsigned intD.6
intD.0
prolog_loop_niters.34D.1710_16 <= 0;

pr18425.c:2: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: vectorizer produces mis-match types in conditionals
           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=22526



More information about the Gcc-bugs mailing list