https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70496
Bug ID: 70496 Summary: [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives. Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ramana at gcc dot gnu.org Target Milestone: --- int i; void main (void) { __asm__ volatile (".arm"); i = 0; __asm__ volatile ("\n cbz r0, 2f\n2:"); } GCC 5 compiles this . Trunk gives an error /tmp/cc9ECIlN.s:40: Error: selected processor does not support `cbz r0,2f' in ARM mode with $gcc -c -march=armv7-a -mthumb /tmp/tst.c