mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 06:50:27 +08:00
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:
parent
6ff68ac318
commit
e2f949562c
@ -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.
|
||||
|
@ -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" } } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user