public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/15525] suggestion to enable cast elimination
Date: Tue, 18 May 2004 21:08:00 -0000	[thread overview]
Message-ID: <20040518210822.23332.qmail@sourceware.org> (raw)
In-Reply-To: <20040518204228.15525.tromey@gcc.gnu.org>


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-18 21:08 -------
Confirmed. Actually we generate the following right now for the code you gave which means we do not 
remove the check at all :(

  T.0 = _Jv_IsInstanceOf (x, &foo.class);
  T.1 = !T.0;
  if (T.1)
    {
      return 0B;
    }
  else
    {

    }
  {
    struct foo * self;

    T.2 = _Jv_CheckCast (&foo.class, x);
    self = T.2;
    return self;
  }

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |missed-optimization
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-18 21:08:20
               date|                            |
            Version|unknown                     |3.5.0


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


  reply	other threads:[~2004-05-18 21:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18 20:42 [Bug java/15525] New: " tromey at gcc dot gnu dot org
2004-05-18 21:08 ` pinskia at gcc dot gnu dot org [this message]
2004-05-20 19:40 ` [Bug java/15525] " dnovillo at gcc dot gnu dot org
2004-08-27 20:55 ` tromey at gcc dot gnu dot org
2004-09-02  1:39 ` tromey at gcc dot gnu dot org
2005-03-09  9:04 ` pinskia at gcc dot gnu dot org
2005-05-01  0:57 ` tromey at gcc dot gnu dot org
     [not found] <bug-15525-8172@http.gcc.gnu.org/bugzilla/>
2015-10-20 15:07 ` aph 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=20040518210822.23332.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@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).