This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, IRA]: Fix PR 48927 - Issues with "enable" attribute and IRA register preferences
- From: Bernd Schmidt <bernds at codesourcery dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 09 May 2011 14:05:00 +0200
- Subject: Re: [PATCH, IRA]: Fix PR 48927 - Issues with "enable" attribute and IRA register preferences
- References: <BANLkTikW-_wFNNCo3BMe3VkwdJ-YOjwSVw@mail.gmail.com>
On 05/08/2011 09:39 PM, Uros Bizjak wrote:
> Attached patch fixes changed register allocation where "enabled"
> attribute is used. The core of the problem was with IRA, where IRA
> does not look at "enabled" attribute when scanning through
> alternatives string to perform various tasks (including register
> allocation preferences).
>
> Attached patch teaches IRA to handle "enabled" attribute. In effect,
> the patch skips current alternative in the same way as when "#"
> character is found.
Ok.
Bernd