Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/pr88029.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 -w -fdump-tree-fre1-vops" } */ double foo (double) __attribute__ ((pure)); double (*fp) (double) __attribute__ ((const)); double f(double a) { fp = foo; /* Verify when propagating foo to the call we preserve its constness. */ return fp (a); } /* { dg-final { scan-tree-dump "foo \\(a" "fre1" } } */ /* { dg-final { scan-tree-dump-times "VUSE" 1 "fre1" } } */