public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Kai.Tietz@onevision.de
To: gcc-gnats@gcc.gnu.org
Subject: optimization/5244: Dead code in simplify_logical()
Date: Wed, 02 Jan 2002 04:56:00 -0000	[thread overview]
Message-ID: <20020102125445.13574.qmail@sources.redhat.com> (raw)


>Number:         5244
>Category:       optimization
>Synopsis:       Dead code in simplify_logical()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 02 04:56:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KT
>Release:        GCC 3.0.3
>Organization:
>Environment:
Any
>Description:
In file combine.c in function  simplify_logical() there some checks at line 5405 ( if (GET_CODE (op1) == IOR || GET_CODE (op1) == XOR))
which prevent to do the following optimizations at the following lines. (Line 5415 and 5422).
>How-To-Repeat:
See code
>Fix:
Just move checks before critical check 
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-01-02 12:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-02  4:56 Kai.Tietz [this message]
2002-01-02 22:51 rodrigc
2002-01-03  1:56 Kai.Tietz
2002-01-28 20:06 Craig Rodrigues
2002-01-29  5:36 Kai.Tietz
2002-11-06  7:18 Wolfgang Bangerth
2003-02-23 20:30 neroden

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=20020102125445.13574.qmail@sources.redhat.com \
    --to=kai.tietz@onevision.de \
    --cc=gcc-gnats@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).