public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/52686] New: SLP crashes with WIDEN_LSHIFT_EXPR
@ 2012-03-23 15:42 uweigand at gcc dot gnu.org
  2012-03-23 15:43 ` [Bug tree-optimization/52686] " uweigand at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: uweigand at gcc dot gnu.org @ 2012-03-23 15:42 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52686
           Summary: SLP crashes with WIDEN_LSHIFT_EXPR
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: uweigand@gcc.gnu.org


When building the following test case:

unsigned int output[4];

void test (unsigned short *p)
{
  unsigned int x = *p;
  if (x)
    {
      output[0] = x << 1;
      output[1] = x << 1;
      output[2] = x << 1;
      output[3] = x << 1;
    }
}

GCC crashes with various symptoms (segmentation fault if checking is disabled;
assertion failures along the lines of "vector VEC(tree,base) index domain
error, in vect_create_vectorized_promotion_stmts at tree-vect-stmts.c:2130" if
checking is enabled) when building on ARM with -O1 -ftree-vectorize -mfpu=neon
-mfloat-abi=softfp.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-26 13:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 15:42 [Bug tree-optimization/52686] New: SLP crashes with WIDEN_LSHIFT_EXPR uweigand at gcc dot gnu.org
2012-03-23 15:43 ` [Bug tree-optimization/52686] " uweigand at gcc dot gnu.org
2012-03-23 15:45 ` uweigand at gcc dot gnu.org
2012-03-26 13:16 ` uweigand at gcc dot gnu.org
2012-03-26 14:00 ` uweigand at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).