2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / no-align.c
blob03811c3458278736b3ec1d45c911f8ae5b78f9fb
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 } } } */
7 void
8 foo()
12 /* { dg-final { scan-assembler-not ".align\[ \t]2" } } */