summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/col-1.c
blob: 5838134ad2110cf8ee40d163cf39e3c244d7703d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-fdump-tree-gimple-details-lineno" } */

void foo (int, int);

int
m(int x)
{
 int c, a;
 a = (c = 5) + 16 + x * 2 ;
 foo (c, a);
}

/* { dg-final { scan-tree-dump-times "10:9.*c = 5" 1 "gimple" } } */
/* { dg-final { scan-tree-dump-times "10:14.*c . 16" 1 "gimple" } } */
/* { dg-final { scan-tree-dump-times "10:4.*a =" 1 "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */