aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr57361-1.c
blob: dc4fadbae41c6d82483e5cb057e8cfd16e1eb5a8 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-forwprop1-details" } */

struct A { int x; double y; };
void f (struct A *a) {
  *a = *a;
}

/* xfailed until figuring out the best way to handle aliasing barriers. */
/* { dg-final { scan-tree-dump "into a NOP" "forwprop1" { xfail *-*-* } } } */