(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
sh/
hiconst.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O1" } */
       3  
       4  char a;
       5  int b;
       6  
       7  int
       8  foo (char *pt, int *pti)
       9  {
      10    a = 0;
      11    b = 0;
      12    *pt = 0;
      13    *pti = 0;
      14  }
      15  
      16  int rab (char *pt, int *pti)
      17  {
      18    pt[2] = 0;
      19    pti[3] = 0;
      20  }
      21  
      22  /* { dg-final { scan-assembler-times "mov\t#0" 2 } } */
      23