1  /* Remove redundant operations in truncate's operand.  */
       2  /* { dg-options "-mgp64" } */
       3  /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
       4  /* { dg-final { scan-assembler-not "\tandi?\t" } } */
       5  
       6  extern void g (int);
       7  
       8  int
       9  f (long long d)
      10  {
      11    long long c = d & 0xffffffffff;
      12    int i = (int) c;
      13    g (i);
      14  }
      15