Fix for PR target/47779

Henderson, Stuart Stuart.Henderson@analog.com
Wed Mar 23 17:39:00 GMT 2011


Thanks.

I don't have write permissions.  Could someone apply it to trunk/appropriate branches?

Stu

-----Original Message-----
From: Bernd Schmidt [mailto:bernds@codesourcery.com]
Sent: 22 March 2011 16:03
To: Henderson, Stuart
Cc: gcc-patches@gcc.gnu.org
Subject: Re: Fix for PR target/47779

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