Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/ipa/propbits-3.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -fno-early-inlining -fdump-ipa-cp" } */ __attribute__((noinline)) static int f(int x) { extern int limit; extern int f2(int); if (x == limit) return x; int k = f(x + 1); return f2 (k); } int main(int argc, char **argv) { int k = f(argc & 0xff); return k; } /* { dg-final { scan-ipa-dump-not "Adjusting mask for" "cp" } } */