view gcc/testsuite/gcc.dg/tree-ssa/col-1.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { 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" } } */