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" } */
7 /* Check that thumb code is always 2 bytes aligned for -Os. */
10 __attribute__ ((optimize("Os")))
15 /* { dg-final { scan-assembler ".align\[ \t]1" } } */