OSDN Git Service

PR tree-optimization/50730
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr46217.c
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-optimized" } */
3
4 int foo(int a)
5 {
6   int t;
7   *(volatile int *)&t = a;
8 }
9
10 /* { dg-final { scan-tree-dump "={v}" "optimized" } } */
11 /* { dg-final { cleanup-tree-dump "optimized" } } */