Debian Codegraph @

gcc/testsuite/gcc.target/cris/pr93372-3.c

raw
1 /* Check that eliminable compare-instructions are eliminated. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-final { scan-assembler-times "\tcmp" 1 } } */
5
6 #ifndef t
7 #define t int
8 #endif
9
10 int ff(t a, t b, t *d)
11 {
12 *d = (a == b);
13
14 return a > b;
15 }