blob: 4cb67f0ae2311221cb6c6601773a71bf503c788f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-dse1-vops" } */
struct { int a, b; } soup1, soup2;
foo ()
{
soup1 = soup2;
soup1.a = 66;
soup1.b = 77;
}
/* We should eliminate the first assignment. */
/* { dg-final { scan-tree-dump-times "VDEF" 2 "dse1" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "dse1" } } */
|