public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zhenqiang.chen at linaro dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53735] thumb1 spill failure with -Os Date: Thu, 26 Jul 2012 07:51:00 -0000 [thread overview] Message-ID: <bug-53735-4-3N0SSAd3KB@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53735-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53735 zhenqiang.chen at linaro dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zhenqiang.chen at linaro | |dot org --- Comment #4 from zhenqiang.chen at linaro dot org 2012-07-26 07:50:25 UTC --- Root cause: r8-r11 is not available for THUMB1 with -Os. In function arm_conditional_register_usage (arm.c), you can find the code if (TARGET_THUMB1 && optimize_size) { /* When optimizing for size on Thumb-1, it's better not to use the HI regs, because of the overhead of stacking them. */ for (regno = FIRST_HI_REGNUM; regno <= LAST_HI_REGNUM; ++regno) fixed_regs[regno] = call_used_regs[regno] = 1; } If removing the code, the result is OK (r8 is used).
next prev parent reply other threads:[~2012-07-26 7:51 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-06-20 18:56 [Bug target/53735] New: " aldot at gcc dot gnu.org 2012-06-20 18:58 ` [Bug target/53735] " aldot at gcc dot gnu.org 2012-07-17 9:34 ` ramana at gcc dot gnu.org 2012-07-24 9:04 ` zhuolin.liu at arm dot com 2012-07-26 7:51 ` zhenqiang.chen at linaro dot org [this message] 2013-08-05 21:34 ` rearnsha at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-53735-4-3N0SSAd3KB@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).