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: [PATCH, ARM] Fix PIC + -fstack-protector (PR35965)


On Thu, 26 Jun 2008 11:08:39 +0100
Julian Brown <julian@codesourcery.com> wrote:

> Hi,
> 
> This patch fixes the test case in PR35965. The problem was that using
> a -fstack-protector[-all] option causes arm.c:require_pic_register()
> to be called from function.c:stack_protect_prologue() (via
> validize_mem). The logic in require_pic_register is either expecting
> to be called "as part of the rtx cost estimation process", or whilst
> emitting RTL for a function.
> [...]

Ping? (For after 4.4 branches?)

(I received a mail this morning from a user who has run into the same
problem this patch fixes, which reminded me of its existence... I've
not re-tested it on mainline recently, but I can do if needed.)

Cheers,

Julian


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