re PR tree-optimization/36991 (ICE in remove_useless_stmts_1, at tree-cfg.c:1882)

2008-08-01  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/36991
	* gcc.dg/pr36991.c: New test.

From-SVN: r138530
This commit is contained in:
Jakub Jelinek 2008-08-01 21:01:33 +02:00 committed by Jakub Jelinek
parent 2568f82a4e
commit 35a84e137b
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-08-01 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/36991
* gcc.dg/pr36991.c: New test.
2008-08-01 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/boolean_expr.ad[sb]: Rename to boolean_expr1.ad[sb].

View File

@ -0,0 +1,12 @@
/* PR tree-optimization/36991 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
typedef float V __attribute__ ((vector_size (16)));
typedef union { V v[4][4]; } U;
void
foo (float x, float y, U *z)
{
z->v[1][0] = z->v[0][1] = (V) { x, y, 0, 0 };
}