view gcc/testsuite/gcc.dg/pr88905.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

/* PR target/88905 */
/* { dg-do compile } */
/* { dg-options "-Og -fno-tree-ccp" } */
/* { dg-additional-options "-mabm" { target { i?86-*-* x86_64-*-* } } } */

int a, b, c;
extern void baz (int);

static inline int
bar (unsigned u)
{
  int i = __builtin_popcountll (-(unsigned long long) u);
  baz (i & c);
  return a + b + c;
}

void
foo (void)
{
  bar (2376498292ULL);
}