]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-5.c
1 /* Test normalization of ARRAY_REF expressions to MEM_REFs in dom. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fno-tree-fre -fdump-tree-dom2" } */
8 main (int argc
, char **argv
)
11 for (int i
= 0; i
< N
; i
++)
14 __builtin_printf ("%d\n", a
[argc
]);
18 /* { dg-final { scan-tree-dump-times "return 3;" 1 "dom2"} } */