(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arc/
sdata-4.c
       1  /* Check if sdata access is done correctly, specially
       2     for variables which are having a different alignment
       3     than the default data type indicates.  */
       4  /* { dg-do compile } */
       5  /* { dg-options "-O2" } */
       6  
       7  short gA  __attribute__ ((aligned(1)));
       8  
       9  void foo (void)
      10  {
      11    gA += gA + 3;
      12  }
      13  
      14  /* { dg-final { scan-assembler-not "ld\[wh\]_s r0,\\\[gp" } } */
      15  /* { dg-final { scan-assembler-not "st\[wh\]\\\.as.*gp" } } */