summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr49619.c
blob: d0a72a6edd1931336e9c53f836421be15a95163c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR rtl-optimization/49619 */
/* { dg-do compile } */
/* { dg-options "-O -fno-tree-fre" } */

extern int a, b;

void
foo (int x)
{
  a = 2;
  b = 0;
  b = (a && ((a = 1, 0 >= b) || (short) (x + (b & x))));
}