pr26421.c: Fix testcase to force struct decomposition.

2006-02-28  Richard Guenther  <rguenther@suse.de>

        * gcc.dg/tree-ssa/pr26421.c: Fix testcase to force struct
        decomposition.

From-SVN: r111566
This commit is contained in:
Richard Guenther 2006-02-28 14:53:36 +00:00 committed by Richard Biener
parent 6ff68ac318
commit e2f949562c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-28 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/pr26421.c: Fix testcase to force struct
decomposition.
2006-02-28 Thomas Koenig <Thomas.Koenig@online.de>
* scalar_mask_1.f90: Add tests for maxloc with scalar mask.

View File

@ -8,11 +8,12 @@ typedef struct {
} Foo;
void bar(Foo*);
void foo(void)
int foo(void)
{
Foo a;
a.i = 1;
bar(&a);
return a.i;
}
/* { dg-final { scan-tree-dump-times "V_MAY_DEF" 1 "alias1" } } */