]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/foldaddr-2.c
Daily bump.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / foldaddr-2.c
CommitLineData
c586d32a
JH
1/* { dg-do compile } */
2/* { dg-options "-O1 -fdump-tree-optimized" } */
3struct a{
4 int a;
5 int b;
6} a;
7int *
8t()
9{
10 return (int *)&a;
11}
12/* { dg-final { scan-tree-dump "a.a" "optimized"} } */
13/* { dg-final { cleanup-tree-dump "optimized" } } */