libstdc++: Fix find_last_set(simd_mask) to ignore padding bits
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / forwprop-7.c
blob46c085dc40120a14721b5a9d3092a0e11548d9d5
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-forwprop1 -W -Wall" } */
4 int i;
5 int foo(void)
7 volatile int *p = (volatile int *)&i;
8 return *p + *p;
11 /* We should not convert the cast to a VCE in forwprop1 as we have a
12 volatile reference. */
14 /* { dg-final { scan-tree-dump-times "VIEW_CONVERT_EXPR" 0 "forwprop1"} } */
15 /* { dg-final { scan-tree-dump-times "={v}" 2 "forwprop1"} } */