public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rsandifo at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/21970] [3.4 only] Inline keyword causes computation to erroneously reduce to a constant
Date: Tue, 05 Jul 2005 14:52:00 -0000	[thread overview]
Message-ID: <20050705145145.31673.qmail@sourceware.org> (raw)
In-Reply-To: <20050608225942.21970.para@cfl.rr.com>


------- Additional Comments From rsandifo at gcc dot gnu dot org  2005-07-05 14:51 -------
> The analysis is slightly flawed. For example:
> 
> UINT32 r0045025C = opt_and(ic, r004501D4);	  // N = and (_, M)   :00022108
> UINT32 r00450994 = opt_not(r0045025C);		  // b = not (N)      :fffddef7
> 
> Since you are using 1s to represent bits that are known to be 0 and 0s
> to represent bits whose value are completely unknown, b should be
> 00000000. All known 0s flip to 1s, and you can say nothing about the
> other bits because their values are all unknown.

Yup.  I guess you didn't read comment #4 ;)

Anyway, thanks for the confirmation.  I'll close this as invalid.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


      parent reply	other threads:[~2005-07-05 14:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-08 22:59 [Bug c/21970] New: " para at cfl dot rr dot com
2005-06-08 23:01 ` [Bug c/21970] " para at cfl dot rr dot com
2005-06-08 23:08 ` [Bug rtl-optimization/21970] " pinskia at gcc dot gnu dot org
2005-06-08 23:14 ` [Bug rtl-optimization/21970] [3.4 only] " pinskia at gcc dot gnu dot org
2005-07-04 13:49 ` rsandifo at gcc dot gnu dot org
2005-07-04 13:52 ` rsandifo at gcc dot gnu dot org
2005-07-05 14:40 ` para at cfl dot rr dot com
2005-07-05 14:52 ` rsandifo at gcc dot gnu dot org [this message]

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=20050705145145.31673.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).