public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "nmiell at comcast dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/14907] bogus sign/zero extension when relaying parameters with regparm Date: Wed, 01 Mar 2006 05:54:00 -0000 [thread overview] Message-ID: <20060301055400.2514.qmail@sourceware.org> (raw) In-Reply-To: <bug-14907-1037@http.gcc.gnu.org/bugzilla/> ------- Comment #4 from nmiell at comcast dot net 2006-03-01 05:54 ------- This also occurs on AMD64 without any special attributes (the ABI passes params in registers already). When compiling: extern char c2(char); char c1(char c) { return c2(c); } with gcc -Wall -O2 -S tail-char.c using gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8) The result is: c1: subq $8, %rsp movsbl %dil,%edi call c2 addq $8, %rsp movsbl %al,%eax ret -- nmiell at comcast dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nmiell at comcast dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14907
next parent reply other threads:[~2006-03-01 5:54 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-14907-1037@http.gcc.gnu.org/bugzilla/> 2006-03-01 5:54 ` nmiell at comcast dot net [this message] 2004-04-10 14:59 [Bug optimization/14907] New: " cesarb at nitnet dot com dot br 2004-04-10 15:48 ` [Bug target/14907] " pinskia at gcc dot gnu dot org 2004-07-10 1:28 ` pinskia at gcc dot gnu dot 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=20060301055400.2514.qmail@sourceware.org \ --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).