1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-ipa-vrp -fdump-tree-optimized" } */
6 /* We can not detect A to be const because it may be interposed by unoptimized
9 __attribute__ ((noinline))
17 __attribute__ ((noinline))
32 /* { dg-final { scan-tree-dump "barvar" "optimized" } } */