view gcc/testsuite/gcc.dg/ipa/propbits-1.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +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)
{
  int some_op(int);
  return some_op (x);
}

int main(void)
{
  int a = f(1);
  int b = f(2);
  int c = f(4);
  return a + b + c;
}

/* { dg-final { scan-ipa-dump "Adjusting mask for param 0 to 0x7" "cp" } } */