public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "simon at pushface dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/46192] renaming of a volatile variable generates wrong code
Date: Fri, 11 Feb 2011 18:20:00 -0000	[thread overview]
Message-ID: <bug-46192-4-cAeXNssBEz@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-46192-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from simon at pushface dot org 2011-02-11 18:18:26 UTC ---
(In reply to comment #2)
> Still present in gcc version 4.6.0 20110203 (experimental) [trunk revision
> 157963] for x86_64-apple-darwin10. Generated assembler is
> 
> _renaming__put_raw:
> LFB3:
>         movzbl  192, %eax
>         andl    $32, %eax
>         .align 4,0x90
> L3:
>         testb   %al, %al
>         je      L3
>         ret

That was at -O2. The code for -O1 is OK:

_renaming__put_raw:
LFB3:
L3:
        testb   $32, 192
        je      L3
        ret


  parent reply	other threads:[~2011-02-11 18:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26 22:32 [Bug ada/46192] New: " rolf.ebert.gcc at gmx dot de
2010-10-26 22:40 ` [Bug ada/46192] " rolf.ebert.gcc at gmx dot de
2011-02-11 18:14 ` simon at pushface dot org
2011-02-11 18:20 ` simon at pushface dot org [this message]
2012-01-16 22:18 ` rolf.ebert.gcc at gmx dot de
2012-01-20 16:09 ` [Bug ada/46192] [4.5/4.6/4.7 regression] wrong code for renaming of packed array with address clause ebotcazou at gcc dot gnu.org
2012-01-20 16:24 ` ebotcazou at gcc dot gnu.org
2012-01-20 21:00 ` [Bug ada/46192] [4.5/4.6/4.7 regression] wrong code for renaming of volatile " jakub at gcc dot gnu.org
2012-01-21 15:07 ` ebotcazou at gcc dot gnu.org
2012-01-21 15:12 ` ebotcazou at gcc dot gnu.org
2012-01-21 15:25 ` ebotcazou at gcc dot gnu.org
2012-01-21 15:25 ` ebotcazou 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=bug-46192-4-cAeXNssBEz@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).