aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr80025.c
blob: e53eaad61995642446d0f721047d17daae2dfd7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* PR debug/80025 */
/* { dg-do compile } */
/* { dg-options "-g -ftracer -w" } */

int a;
long int b, c;

long int
foo (void)
{
}

void
bar (int x, short int y, unsigned short int z)
{
}

int
baz (void)
{
  a -= b;
  b = !foo ();
  bar (b ^= (c ^ 1) ? (c ^ 1) : foo (), (__INTPTR_TYPE__) &bar, a);
}