Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / pr46217.c
blobbb445bb239fdc73b7d3e5cd5d41d1f0706dc4cc3
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-optimized" } */
4 int foo(int a)
6 int t;
7 *(volatile int *)&t = a;
10 /* { dg-final { scan-tree-dump "={v}" "optimized" } } */
11 /* { dg-final { cleanup-tree-dump "optimized" } } */