public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: anamax@earthlink.net
To: gcc-gnats@gcc.gnu.org
Subject: optimization/7269: Inlining may not eliminate unnecessary tests and branches.
Date: Wed, 10 Jul 2002 22:36:00 -0000	[thread overview]
Message-ID: <20020711053116.9481.qmail@sources.redhat.com> (raw)


>Number:         7269
>Category:       optimization
>Synopsis:       Inlining may not eliminate unnecessary tests and branches.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          pessimizes-code
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 10 22:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andy Freeman
>Release:        gcc 3.1
>Organization:
>Environment:
Redhat 7.3
>Description:
Inlined procedures may have unnnecessary tests and branches.

Using built-in specs.
Configured with: ../gcc-3.1/configure 
Thread model: single
gcc version 3.1
>How-To-Repeat:
The -S -O3 output has a branch to a compare&branch whose behavior is invariant.  The "je .L4" should/can be "je .L1".
>Fix:
Better constant value propagation
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-07-11  5:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-10 22:36 anamax [this message]
2002-10-06 21:36 Andrew Pinski
2003-02-19  9:26 ebotcazou
2003-02-19 14:56 Andy Freeman

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=20020711053116.9481.qmail@sources.redhat.com \
    --to=anamax@earthlink.net \
    --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).