Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-63.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O -fdump-tree-fre1-stats" } */ int foo(char *x) { __builtin_memset (&x[1], 'c', 42); return x[0] + x[1] + x[42] + x[43]; } /* We should eliminate x[1] and x[42] and their conversions to int. */ /* { dg-final { scan-tree-dump "Eliminated: 4" "fre1" } } */