re PR rtl-optimization/50765 (ICE: in expand_insn, at optabs.c:7681 with -ftree-vectorize -fno-tree-dce)

PR tree-optimization/50765
	* gcc.dg/pr50765.c: New test.

From-SVN: r181617
This commit is contained in:
Jakub Jelinek 2011-11-22 15:22:56 +01:00 committed by Jakub Jelinek
parent e2362f5de0
commit 8fb013576c
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-11-22 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/50765
* gcc.dg/pr50765.c: New test.
2011-11-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gcc.dg/vshift-1.c (main): Call rand instead of random.

View file

@ -0,0 +1,10 @@
/* PR tree-optimization/50765 */
/* { dg-do compile } */
/* { dg-options "-O3 -fno-tree-dce" } */
void
foo (long *w, long *x, unsigned char *y, int z)
{
for (; z < 429; z++)
w[z] = (-19 ^ y[z]) & x[z];
}