annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do compile } */
kono
parents:
diff changeset
2 /* { dg-options "-O2 -fdump-tree-optimized-raw" } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 int f(int a, int b, int c){
kono
parents:
diff changeset
5 c |= 1; // c cannot be 0
kono
parents:
diff changeset
6 a *= c;
kono
parents:
diff changeset
7 b *= c;
kono
parents:
diff changeset
8 return a == b;
kono
parents:
diff changeset
9 }
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 /* { dg-final { scan-tree-dump-not "bit_ior_expr" "optimized" } } */