public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/57690] bextr sometimes used instead of shr
Date: Sun, 30 Jun 2013 09:48:00 -0000	[thread overview]
Message-ID: <bug-57690-4-4gqeEGOASu@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57690-4@http.gcc.gnu.org/bugzilla/>

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-30
     Ever confirmed|0                           |1

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
For some reason combine simplifies

  (zero_extend:DI (lshiftrt:SI (reg:SI 0 ax [orig:65 D.1730 ] [65])
                        (const_int 2 [0x2]))))

to 

  (set (reg:DI 0 ax [orig:64 D.1733 ] [64])
       (zero_extract:DI (reg:DI 0 ax [orig:59 D.1732 ] [59])
                    (const_int 30 [0x1e])
                    (const_int 2 [0x2])))

perhaps correct RTX costs could prevent this transformation for -Os?
>From gcc-bugs-return-425466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 30 11:46:06 2013
Return-Path: <gcc-bugs-return-425466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30937 invoked by alias); 30 Jun 2013 11:46:06 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 30887 invoked by uid 48); 30 Jun 2013 11:46:00 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/57760] preprocessor directive supress g++ warning
Date: Sun, 30 Jun 2013 11:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-57760-4-nhEvRqIZTM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57760-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57760-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-06/txt/msg01845.txt.bz2
Content-length: 498

http://gcc.gnu.org/bugzilla/show_bug.cgi?idW760

Andreas Schwab <schwab@linux-m68k.org> changed:

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Use -Wsystem-headers.  The directive marks the following contents as a system
header.


  reply	other threads:[~2013-06-30  9:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-23 19:26 [Bug target/57690] New: " jakub at gcc dot gnu.org
2013-06-30  9:48 ` ubizjak at gmail dot com [this message]
2021-07-29 23:35 ` [Bug target/57690] " pinskia at gcc dot gnu.org
2021-12-15 11:54 ` jakub 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-57690-4-4gqeEGOASu@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).