public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "eric dot weddington at atmel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/39287] corrupted prologue generated
Date: Tue, 24 Feb 2009 17:52:00 -0000	[thread overview]
Message-ID: <20090224175240.11748.qmail@sourceware.org> (raw)
In-Reply-To: <bug-39287-17356@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from eric dot weddington at atmel dot com  2009-02-24 17:52 -------
What host are you building on?

With gcc 4.3.2 with patches from WinAVR I get this:

        .file   "test.c"
__SREG__ = 0x3f
__SP_H__ = 0x3e
__SP_L__ = 0x3d
__CCP__  = 0x34
__tmp_reg__ = 0
__zero_reg__ = 1
        .text
.global b
        .type   b, @function
b:
        push r29
        push r28
        rcall .
        rcall .
        in r28,__SP_L__
        in r29,__SP_H__
/* prologue: function */
/* frame size = 4 */
        movw r24,r28
        adiw r24,1
        rcall d
/* epilogue start */
        pop __tmp_reg__
        pop __tmp_reg__
        pop __tmp_reg__
        pop __tmp_reg__
        pop r28
        pop r29
        ret
        .size   b, .-b


-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39287


  parent reply	other threads:[~2009-02-24 17:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24 10:14 [Bug c/39287] New: " sb-sf at users dot sourceforge dot net
2009-02-24 10:16 ` [Bug c/39287] " sb-sf at users dot sourceforge dot net
2009-02-24 13:53 ` [Bug target/39287] " eric dot weddington at atmel dot com
2009-02-24 17:52 ` eric dot weddington at atmel dot com [this message]
2009-02-24 20:57 ` sb-sf at users dot sourceforge dot net
2009-02-25  1:29 ` eric dot weddington at atmel dot com

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=20090224175240.11748.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: link
Be 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).