gcc/testsuite/gcc.target/arm/no-align.c
raw| 1 | /* PR target/67745 |
| 2 | Verify that -mthumb code is not aligned. */ |
| 3 | /* { dg-do compile } */ |
| 4 | /* { dg-options "-O2 -mthumb -fno-align-functions" } */ |
| 5 | /* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */ |
| 6 | |
| 7 | void |
| 8 | foo() |
| 9 | { |
| 10 | } |
| 11 | |
| 12 | /* { dg-final { scan-assembler-not ".align\[ \t]2" } } */ |