(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
cris/
pr93372-24.c
       1  /* Check that eliminable compare-instructions are eliminated. */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2" } */
       4  /* { dg-final { scan-assembler-not "\tcmp|\ttest" } } */
       5  /* For the f2, we want an andq, not and.b. */
       6  /* { dg-final { scan-assembler "\tandq 20," } } */
       7  /* { dg-final { scan-assembler-not "\tand.b 20," } } */
       8  /* See pr93372-23.c regarding the xfail.  */
       9  /* { dg-final { scan-assembler-not "\tmove.b" { xfail cc0 } } } */
      10  
      11  #define op &
      12  #define t signed char
      13  #include "pr93372-16.c"
      14  
      15  #undef op
      16  #define op & 20 &
      17  #define f f2
      18  #define g g2
      19  #include "pr93372-16.c"