Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/assoc-2.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O -fdump-tree-gimple-raw -fdump-tree-optimized-raw" } */ int f0(int a, int b){ return a * 33 * b * 55; } int f1(int a){ a *= 33; return a * 55; } int f2(int a, int b){ a *= 33; return a * b * 55; } /* { dg-final { scan-tree-dump-times "mult_expr" 7 "gimple" } } */ /* { dg-final { scan-tree-dump-times "mult_expr" 5 "optimized" } } */