Message ID | 201204161552.q3GFq1Jv010362@d06av02.portsmouth.uk.ibm.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'gcc/config/arm/arm.c' --- gcc/config/arm/arm.c 2012-03-29 10:35:24 +0000 +++ gcc/config/arm/arm.c 2012-03-31 15:29:54 +0000 @@ -17880,9 +17880,9 @@ memsize = MEM_SIZE (x); /* Only certain alignment specifiers are supported by the hardware. */ - if (memsize == 16 && (align % 32) == 0) + if (memsize == 32 && (align % 32) == 0) align_bits = 256; - else if (memsize == 16 && (align % 16) == 0) + else if ((memsize == 16 || memsize == 32) && (align % 16) == 0) align_bits = 128; else if (memsize >= 8 && (align % 8) == 0) align_bits = 64;