Fix for PR target/47779

Bernd Schmidt bernds@codesourcery.com
Tue Mar 22 16:04:00 GMT 2011


On 03/22/2011 10:54 AM, Henderson, Stuart wrote:
> ping.
> http://gcc.gnu.org/ml/gcc-patches/2011-03/msg00505.html

> Please can you review the attached patch to fix PR 47779.
> 
> The register constant names for bfin were clashing with uClibc (sys/ucontext.h) when cross compiling.  I've simply changed the naming convention from REG_x to the more common x_REG.
> 
> 
> 2011-03-10  Stuart Henderson  <stuart.henderson@analog.com>
> 
>         PR target/47779
>         * config/bfin/predicates.md: Change register constants from REG_x form to x_REG.
>         * config/bfin/bfin.c: Likewise
>         * config/bfin/bfin.h: Likewise
>         * config/bfin/sync.md: Likewise
>         * config/bfin/bfin.md: Likewise

I still kind of think this must be a uClibc bug, but OK.


Bernd



More information about the Gcc-patches mailing list