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