aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr93582.c
blob: 54f5897383226737010a8a99dc52162e3dbf05ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* 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;
}