On powerpc*-unknown-linux-gnu several vectorization tests ICE in verify_stmts
after the error message "invalid conversion in gimple call":

    gcc.dg/vect/no-scevccp-outer-7.c
    gcc.dg/vect/no-scevccp-outer-13.c
    gcc.dg/vect/slp-perm-1.c
    gcc.dg/vect/slp-perm-2.c
    gcc.dg/vect/slp-perm-3.c
    gcc.dg/vect/slp-perm-8.c
    gcc.dg/vect/vect-reduc-dot-u8b.c

The failures begin with this patch:

    http://gcc.gnu.org/viewcvs?view=rev&rev=146831

    r146831 | rguenth | 2009-04-27 11:18:38 +0000 (Mon, 27 Apr 2009)

Here's a minimized testcase usable with a powerpc-linux cross compiler:

---------------------------------------------------------------
extern unsigned char X[64] __attribute__ ((__aligned__(32)));
extern unsigned char Y[64] __attribute__ ((__aligned__(32)));

unsigned short
foo (int len) {
  int i;
  unsigned short result = 0;

  for (i=0; i<len; i++) {
    result += (unsigned short)(X[i] * Y[i]);
  }
  return result;
}
---------------------------------------------------------------

The failures for gcc.dg/pr34989-1.c (PR39959) and
gcc.dg/struct/wo_prof_double_malloc.c (PR39940) begin with the same patch on
powerpc*-linux.


-- 
           Summary: invalid conversion in gimple call for vect tests
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc*-*-linux*


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

Reply via email to