This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Committed] [spu] Fix asm gotos


On Mon, Sep 28, 2009 at 3:54 PM, Richard Henderson <rth@redhat.com> wrote:
> On 09/28/2009 08:48 AM, Andrew Pinski wrote:
>>
>> * spu.c (get_branch_target): Return NULL for ASM_OPERANDS patterns.
>
> The correct check would be
>
> Âif (extract_asm_operands (PATTERN (branch)) != NULL)

And this is what I applied with that suggestion.

Thanks,
Andrew Pinski

ChangeLog:

* config/spu/spu.c (get_branch_target): Use extract_asm_operands.

Attachment: spuasmgoto.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]