[Bug tree-optimization/52870] New: ICE during SLP pattern matching

uweigand at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 4 15:54:00 GMT 2012


             Bug #: 52870
           Summary: ICE during SLP pattern matching
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: uweigand@gcc.gnu.org
            Target: x86_64-linux-gnu

Building the following testcase with -O -ftree-vectorize on x86_64:

test (int *x)
  unsigned long sx, xprec;

  sx = *x >= 0 ? *x : -*x;

  xprec = sx * 64;

  if (sx < 16384)
    foo (sx);

  return xprec;

results in an ICE:

crash1.c:5:1: internal compiler error: vector VEC(vec_void_p,base) index domain
error, in vinfo_for_stmt at tree-vectorizer.h:628

(When building with --disable-checking, we get a segmentation fault instead.)

More information about the Gcc-bugs mailing list