http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51819

--- Comment #2 from Thejes Kuttian <thejes.k at gmail dot com> 2012-01-13 
05:32:48 UTC ---
(In reply to comment #1)
> Completely untested but I think this is the correct fix for this problem. 
> 
> 
> 
> 
> diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
> index 4c310d4..31f03cc 100644
> --- a/gcc/config/arm/arm.c
> +++ b/gcc/config/arm/arm.c
> @@ -17720,7 +17720,7 @@ arm_print_operand (FILE *stream, rtx x, int code)
>           align_bits = 256;
>         else if ((memsize == 8 || memsize == 16) && (align % 16) == 0)
>           align_bits = 128;
> -       else if ((align % 8) == 0)
> +       else if ((memsize >= 8) && (align % 8) == 0)
>           align_bits = 64;
>         else
>           align_bits = 0;

Confirmed. This patch fixes the issue for me .

Reply via email to