Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-73.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 "-O -fdump-tree-fre1" } */ typedef int v2si __attribute__((vector_size(__SIZEOF_INT__ * 2))); int foo (int *a) { a[0] = 1; a[1] = 2; v2si x = *(v2si *)a; *(v2si *)&a[2] = x; return a[3]; } /* { dg-final { scan-tree-dump "return 2;" "fre1" } } */