From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18652 invoked by alias); 13 Feb 2004 04:42:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18643 invoked by uid 48); 13 Feb 2004 04:42:39 -0000 Date: Fri, 13 Feb 2004 04:42:00 -0000 From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20040213044237.14135.pinskia@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/14135] New: No sibcalling for some obvious places (happens in java's front-end) X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg01380.txt.bz2 List-Id: 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