view gcc/testsuite/gcc.c-torture/execute/pr93582.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* PR tree-optimization/93582 */

short a;
int b, c;

__attribute__((noipa)) void
foo (void)
{
  b = c;
  a &= 7;
}

int
main ()
{
  c = 27;
  a = 14;
  foo ();
  if (b != 27 || a != 6)
    __builtin_abort ();
  return 0;
}