re PR tree-optimization/34407 (verify_stmts failed)

PR tree-optimization/34407
	* gcc.dg/vect/pr34407.c: New test.

From-SVN: r130769
This commit is contained in:
Uros Bizjak 2007-12-11 09:08:12 +01:00
parent 424cc6dcf4
commit 67689d1ad6
2 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-12-11 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/34407
* gcc.dg/vect/pr34407.c: New test.
2007-12-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/34411
@ -206,7 +211,7 @@
PR target/34312
* gcc.target/i386/pr34312.c: New test.
2007-12-05 Tobias Burnus <bU gcc/stmt.c
2007-12-05 Tobias Burnus <burnus@net-b.de>
PR fortran/34333
* gfortran.dg/nan_2.f90: New.

View File

@ -0,0 +1,16 @@
/* { dg-do compile } */
extern int ReadBlobByte (void);
void ReadRLEImage (unsigned char *p)
{
unsigned char background_color[4] = { 0, 1, 2, 3 };
long j;
unsigned long number_planes = ReadBlobByte();
for (j = 0; j < (long) number_planes; j++)
*p++ = background_color[j];
}
/* { dg-final { cleanup-tree-dump "vect" } } */