view gcc/testsuite/gcc.dg/tree-ssa/cmpmul-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized-raw" } */

int f(int a, int b, int c){
  c |= 1; // c cannot be 0
  a *= c;
  b *= c;
  return a == b;
}

/* { dg-final { scan-tree-dump-not "bit_ior_expr" "optimized" } } */