This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch][ARM] Set prologue_use length to 0?
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Paul Brook <paul at codesourcery dot com>
- Date: Mon, 22 Jun 2009 09:48:37 +0100
- Subject: Re: [patch][ARM] Set prologue_use length to 0?
- References: <571f6b510906200030i1b5c8334y8e4804d7631b118c@mail.gmail.com>
On Sat, 2009-06-20 at 09:30 +0200, Steven Bosscher wrote:
> Hi,
>
> While analyzing a PR I noticed this funny insn length for a non-insn
> "prologue_use":
>
> @(insn 98 97 99 PR40499.c:22 (unspec:SI [
> @ (reg/f:SI 13 sp)
> @ ] 6) 341 {prologue_use} (nil))
> @ 0x0018
> @ sp needed for prologue @ 98 prologue_use [length = 4]
>
>
> I'm guessing that a comment has no length. Can an ARM maintainer
> please see if the patch at the bottom of this mail is OK, and commit
> it for me if yes?
>
> Ciao!
> Steven
>
>
> * arm.md (prologue_use): Set length of fake insn to 0.
>
OK