public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "michael at talamasca dot ocis.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/52734] Incorrect optimization of uClibc sbrk()
Date: Tue, 27 Mar 2012 08:10:00 -0000	[thread overview]
Message-ID: <bug-52734-4-YGmDzb25QC@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-52734-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from michael at talamasca dot ocis.net <michael at talamasca dot ocis.net> 2012-03-27 08:05:06 UTC ---
Created attachment 27011
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27011
Assembly output of Mikael's testcase, from Michael's computer

Here's the assembly output you requested.  The "-v" data is in the typescript
file added separately.

I've used the modified version of the case submitted by Mikael, rather than my
original file.

Notice that "bbb" appears in the assembly only twice.  The first time is the
increment in Mikael's aaa implementation, and the second is on a code path that
goes straight to the end of the function.  Nowhere in the code is the load of
ddd from bbb.


  parent reply	other threads:[~2012-03-27  8:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27  5:32 [Bug c/52734] New: " michael at talamasca dot ocis.net
2012-03-27  7:43 ` [Bug c/52734] " rguenth at gcc dot gnu.org
2012-03-27  7:44 ` mikpe at it dot uu.se
2012-03-27  7:54 ` mikpe at it dot uu.se
2012-03-27  7:57 ` mikpe at it dot uu.se
2012-03-27  8:01 ` michael at talamasca dot ocis.net
2012-03-27  8:10 ` michael at talamasca dot ocis.net [this message]
2012-03-27  8:38 ` [Bug rtl-optimization/52734] [4.7/4.8 Regression] " rguenth at gcc dot gnu.org
2012-03-27  9:39 ` [Bug tree-optimization/52734] " rguenth at gcc dot gnu.org
2012-03-27 13:08 ` vries at gcc dot gnu.org
2012-03-27 13:29 ` vries at gcc dot gnu.org
2012-03-27 17:10 ` vries at gcc dot gnu.org
2012-04-10 22:42 ` joerg.jungermann at gmx dot de
2012-04-10 22:58 ` sedat.dilek at gmail dot com
2012-04-11 10:13 ` rguenth at gcc dot gnu.org
2012-04-12 16:26 ` vries at gcc dot gnu.org
2012-04-13 13:19 ` rguenth at gcc dot gnu.org
2012-04-13 19:33 ` vries at gcc dot gnu.org
2012-04-13 19:39 ` sedat.dilek at gmail dot com
2014-02-16 13:16 ` jackie.rosen at hushmail 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=bug-52734-4-YGmDzb25QC@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: 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).