2 Verify alignment when both attribute optimize and target are used. */
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
5 /* { dg-skip-if "" arm_cortex_m } */
8 __attribute__ ((target ("arm")))
14 __attribute__ ((target ("thumb")))
15 __attribute__ ((optimize ("Os")))
21 __attribute__ ((target ("thumb")))
22 __attribute__ ((optimize ("O2")))
27 /* { dg-final { scan-assembler-times ".align\[ \t]2" 2 } } */
28 /* { dg-final { scan-assembler ".align\[ \t]1" } } */