libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp58.c
blobb64a2df8f33009e85b12bf593bec12b313a34636
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-cddce1" } */
4 long long
5 foo (long long a, signed char b, signed char c)
7 int bc = b * c;
8 return a + (short)bc;
11 /* EVRP should remove the truncation to short, keeping (long long)bc. */
12 /* { dg-final { scan-tree-dump-not "short" "cddce1" { target int32plus } } } */