gcc/ 2013-01-05 Mikael Pettersson PR target/43961 * config/arm/arm.h (ADDR_VEC_ALIGN): Describe added alignment for Thumb-1 compressed switch tables. --- gcc-4.8-20121230/gcc/config/arm/arm.h.~1~ 2012-12-19 13:39:17.000000000 +0100 +++ gcc-4.8-20121230/gcc/config/arm/arm.h 2013-01-05 13:19:58.000000000 +0100 @@ -2132,7 +2132,8 @@ extern int making_const_table; } while (0) /* Jump table alignment is explicit in ASM_OUTPUT_CASE_LABEL. */ -#define ADDR_VEC_ALIGN(JUMPTABLE) 0 +#define ADDR_VEC_ALIGN(JUMPTABLE) \ + ((TARGET_THUMB && GET_MODE (PATTERN (JUMPTABLE)) == SImode) ? 2 : 0) /* This is how to output a label which precedes a jumptable. Since Thumb instructions are 2 bytes, we may need explicit alignment here. */