aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/reassoc-30.c
blob: 66289848322ac6d6f2cea8ef71460263fe387322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR tree-optimization/57442 */
/* { dg-do compile } */
/* { dg-options "-O1" } */
short a;
unsigned b;
long c;
int d;

void f(void)
{
    b = a ? : (a = b) - c + (d - (b + b));
}