1 2 3 4 5 6 7 8 9 10 11 12 13
/* { dg-do compile } */ /* { dg-options "-fdump-tree-gimple" } */ union X { int i; double x; }; int foo (union X *p) { union X x = *p; return x.x; } /* { dg-final { scan-tree-dump-not "x.0" "gimple" } } */ /* { dg-final { cleanup-tree-dump "gimple" } } */