------- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-08 14:10 ------- Subject: Bug 42995
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 <rguent...@suse.de> 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 <rguent...@suse.de> * ipa-inline.c (cgraph_decide_inlining_incrementally): Do not inline regular functions into always-inline functions. 2010-01-05 Martin Jambor <mjam...@suse.cz> 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=42995