public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "leo at marco dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/32838] New: gcc generates incorrect trampoline code in thumb mode Date: Fri, 20 Jul 2007 11:52:00 -0000 [thread overview] Message-ID: <bug-32838-14845@http.gcc.gnu.org/bugzilla/> (raw) When using nested functions, the trampoline code will destroy register 9 while loading the static chain. This is even noted in gcc/config/arm/arm.h: XXX FIXME: When the trampoline returns, r8 will be clobbered. (it will be r9 and not r8...). The attached patch avoids clobbering r9. -- Summary: gcc generates incorrect trampoline code in thumb mode Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: leo at marco dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32838
next reply other threads:[~2007-07-20 11:52 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-07-20 11:52 leo at marco dot de [this message] 2007-07-20 11:53 ` [Bug target/32838] " leo at marco dot de 2007-07-20 11:55 ` leo at marco dot de 2009-01-02 12:31 ` laurent at guerby dot net 2009-03-17 16:48 ` leo at marco dot de 2009-03-19 10:15 ` sam at gcc dot gnu dot org 2009-03-19 19:08 ` leo at marco dot de
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-32838-14845@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).