From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30389 invoked by alias); 8 Feb 2010 14:11:26 -0000 Received: (qmail 30246 invoked by alias); 8 Feb 2010 14:10:58 -0000 Date: Mon, 08 Feb 2010 14:11:00 -0000 Message-ID: <20100208141058.30243.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-02/txt/msg00715.txt.bz2 ------- Comment #9 from rguenth at gcc dot gnu dot org 2010-02-08 14:10 ------- Subject: Bug 42462 Author: rguenth Date: Mon Feb 8 14:10:15 2010 New Revision: 156601 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156601 Log: 2010-02-08 Richard Guenther PR middle-end/42995 * tree-inline.c (estimate_move_cost): Assert we are not called with a void type. (estimate_num_insns): Do not count the terminating void_type_node of a function argument type list. Backport from mainline: 2010-01-06 Richard Guenther * ipa-inline.c (cgraph_decide_inlining_incrementally): Do not inline regular functions into always-inline functions. 2010-01-05 Martin Jambor PR tree-optimization/42462 * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of current_function_decl to helper functions and macros. * gcc.dg/tree-ssa/inline-4.c: New testcase. * gcc.dg/Wunreachable-2.c: Remove. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/tree-ssa/inline-4.c Removed: branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/Wunreachable-2.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/ipa-inline.c branches/gcc-4_4-branch/gcc/tree-inline.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42462