public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug optimization/14135] New: No sibcalling for some obvious places (happens in java's front-end)
Date: Fri, 13 Feb 2004 04:42:00 -0000	[thread overview]
Message-ID: <20040213044237.14135.pinskia@gcc.gnu.org> (raw)

The function, f, should just have a sibcalling to t and should be the same as function, g.
This is derived from the java front-end (java_tree_inlining_walk_subtrees, case BLOCK).

int t(int);
int f(int i)
{
  int result;
  result = t(i);
  if (result)
    return result;
  return 0;
}
int g(int i)
{
  return t(i);
}

-- 
           Summary: No sibcalling for some obvious places (happens in java's
                    front-end)
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: pessimizes-code
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


             reply	other threads:[~2004-02-13  4:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13  4:42 pinskia at gcc dot gnu dot org [this message]
2004-02-13  4:43 ` [Bug optimization/14135] " pinskia at gcc dot gnu dot org
2004-02-13 16:40 ` pinskia at gcc dot gnu dot org
2004-02-29  6:40 ` pinskia at gcc dot gnu dot org
2004-03-04  7:17 ` pinskia at gcc dot gnu dot org
2004-03-04  8:54 ` kazu at cs dot umass dot edu
2004-03-04 18:01 ` pinskia at gcc dot gnu dot org
2004-03-04 18:22 ` pinskia at gcc dot gnu dot org
2004-03-05  5:25 ` pinskia at gcc dot gnu dot org
2004-03-07  3:03 ` pinskia at gcc dot gnu dot org
2004-03-12  7:17 ` pinskia at gcc dot gnu dot org
2004-03-12  7:17 ` cvs-commit at gcc dot gnu dot org
2004-06-07 18:18 ` [Bug rtl-optimization/14135] " pinskia at gcc dot gnu dot org
2004-06-07 18:20 ` pinskia at gcc dot gnu dot 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=20040213044237.14135.pinskia@gcc.gnu.org \
    --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).