public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at physics dot uc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug optimization/11181] [3.3 only][avr-gcc] Optimization of "uchar/xor/and/single_bit" produced wrong code.
Date: Mon, 28 Jul 2003 16:27:00 -0000	[thread overview]
Message-ID: <20030728162704.22617.qmail@sources.redhat.com> (raw)
In-Reply-To: <20030613031030.11181.dmixm@marine.febras.ru>

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[avr-gcc] Optimization of   |[3.3 only][avr-gcc]
                   |"uchar/xor/and/single_bit"  |Optimization of
                   |produced wrong code.        |"uchar/xor/and/single_bit"
                   |                            |produced wrong code.


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-28 16:27 -------
It works on the mainline, I looked at the RTL at the last stage and it had:
(jump_insn 19 18 24 (set (pc)
        (if_then_else (eq (zero_extract:HI (reg:QI 25 r25 [42])
                    (const_int 1 [0x1])
                    (const_int 0 [0x0]))
                (const_int 0 [0x0]))
            (label_ref 9)
            (pc))) 97 {*sbrx_branch} (insn_list 13 (nil))
    (expr_list:REG_DEAD (reg:QI 25 r25 [42])
        (expr_list:REG_BR_PROB (const_int 8900 [0x22c4])
            (nil))))

So it worked.
I will test the patch to find out if it fixes the problem on 3.3.1.


  parent reply	other threads:[~2003-07-28 16:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-13  3:10 [Bug optimization/11181] New: [avr-gcc] " dmixm@marine.febras.ru
2003-07-06  1:30 ` [Bug optimization/11181] " pinskia at physics dot uc dot edu
2003-07-06  1:59 ` pinskia at physics dot uc dot edu
2003-07-28 12:23 ` ehrhardt at mathematik dot uni-ulm dot de
2003-07-28 16:20 ` pinskia at physics dot uc dot edu
2003-07-28 16:27 ` pinskia at physics dot uc dot edu [this message]
2003-07-28 16:42 ` [Bug optimization/11181] [3.3 only][avr-gcc] " ehrhardt at mathematik dot uni-ulm dot de
2003-08-03 16:19 ` pinskia at physics dot uc dot edu

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=20030728162704.22617.qmail@sources.redhat.com \
    --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).