Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/pr69845-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-require-effective-target int32 } */ /* { dg-options "-O -fdump-tree-gimple -fdump-tree-optimized" } */ int main () { struct S { char s; } v; v.s = 47; int a = (int) v.s; int b = (27005061 + (a + 680455)); int c = ((1207142401 * (((8 * b) + 9483541) - 230968044)) + 469069442); if (c != 1676211843) __builtin_abort (); return 0; } /* { dg-final { scan-tree-dump-times "b \\\* 8" 1 "gimple" } } */ /* { dg-final { scan-tree-dump-not "abort" "optimized" } } */