(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
ldrd-strd-offset.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2" } */
       3  
       4  typedef struct
       5  {
       6    int x;
       7    int i, j;
       8  } off_struct;
       9  
      10  int foo (char *str, int *a, int b, int c)
      11  {
      12    off_struct *p = (off_struct *)(str + 3);
      13    b = p->i;
      14    c = p->j;
      15    *a = b + c;
      16    return 0;
      17  }