Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc 4.1.3 (netbsd-5-1) ARM compiler bug (toolchain/45576)



On Sun, Nov 06, 2011 at 02:21:09PM +0000, Richard Earnshaw wrote:

> Looks to be still present in 4.3 and 4.4, but is fixed on GCC trunk
> (don't have a build of 4.5 or 4.6 to hand).

I can confirm that 4.5.3 as on NetBSD-current, at least as a cross-compiler
from amd64, does create correct assembler code for my test file from the
PR.

> A quick, safe, fix, with probably negligible overhead, is to comment out
> the pattern "*arith_adjacentmem" in arm.md.

I've tested this, too, as a cross-compiler and natively, and it works.

I'll propose a patch to remove arith_adjacentmem on the branch netbsd-5.

Regards,
        -is


Home | Main Index | Thread Index | Old Index