https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119030

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r15-7597-g3768bedf7b5fcdd63a18871ecfce665ae1b8d87e

static inline unsigned
foo (long long tag)
{
  return tag & 0x8000;
}

static inline long long
bar (long long tag)
{
  if (foo (tag))
    return -1000;
  else
    return tag >> 16;
}

long long tag = -0x20000LL;

int
main ()
{
  if (bar (tag) >= 0)
    __builtin_abort ();
  return 0;
}

Reply via email to