public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jon at beniston dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/42612] post-increment addressing not used
Date: Tue, 05 Jan 2010 12:13:00 -0000	[thread overview]
Message-ID: <20100105121304.22121.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42612-10439@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from jon at beniston dot com  2010-01-05 12:13 -------
GCC 4.1.2 seems to produce the same code.

       mov     r2, #0
       mov     r3, r0
       strb    r2, [r3], #1
       strb    r2, [r0, #1]
       add     r0, r3, #2
       @ lr needed for prologue
       strb    r2, [r3, #1]
       bx      lr
       .size   func, .-func
       .ident  "GCC: (GNU) 4.1.2"


-- 


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


  parent reply	other threads:[~2010-01-05 12:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 16:02 [Bug c/42612] New: [4.4/4.5] " jon at beniston dot com
2010-01-04 16:11 ` [Bug rtl-optimization/42612] " rguenth at gcc dot gnu dot org
2010-01-04 18:53 ` steven at gcc dot gnu dot org
2010-01-05 11:43 ` bonzini at gnu dot org
2010-01-05 12:13 ` jon at beniston dot com [this message]
     [not found] <bug-42612-4@http.gcc.gnu.org/bugzilla/>
2012-08-23 14:16 ` olegendo at gcc dot gnu.org
2015-05-22 13:57 ` olegendo at gcc dot gnu.org
2022-07-12  5:21 ` bd at mail dot ru
2022-07-12  5:39 ` pinskia 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=20100105121304.22121.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).