(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
attr-align2.c
       1  /* PR target/67745
       2     Verify alignment when attribute optimize is used.  */
       3  /* { dg-do compile } */
       4  /* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
       5  /* { dg-options "-O2 -mthumb" }  */
       6  
       7  /* Check that thumb code is always 2 bytes aligned for -Os.  */
       8  
       9  void
      10  __attribute__ ((optimize("Os")))
      11  foo()
      12  {
      13  }
      14  
      15  /* { dg-final { scan-assembler ".align\[ \t]1" } } */