Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/alias-access-path-10.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-fre1" } */ struct a {int array[3];} a[10]; int test(int i,int j) { a[i].array[1]=123; a[j].array[2]=2; return a[i].array[1]; } /* { dg-final { scan-tree-dump-times "return 123" 1 "fre1"} } */