2007-06-23 Richard Guenther <rguenther@suse.de> PR tree-optimization/16876 PR middle-end/29478 * tree.h (CALL_CANNOT_INLINE_P): New macro to access static_flag for CALL_EXPRs. * tree-inline.c (initialize_inlined_parameters): Do not call lang_hooks.tree_inlining.convert_parm_for_inlining. * cgraphbuild.c (initialize_inline_failed): Set inline failed reason for mismatched types. * gimplify.c (gimplify_call_expr): Verify the call expression arguments match the called function type signature. Otherwise mark the call expression to be not considered for inlining using CALL_CANNOT_INLINE_P flag. * ipa-inline.c (cgraph_mark_inline): Honor CALL_CANNOT_INLINE_P on the edges call expression. (cgraph_decide_inlining_of_small_function): Likewise. (cgraph_decide_inlining): Likewise. * c-objc-common.h (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): Remove define. * c-tree.h (c_convert_parm_for_inlining): Remove declaration. * c-typeck.c (c_convert_parm_for_inlining): Remove. * langhooks-def.h (lhd_tree_inlining_convert_parm_for_inlining): Remove declaration. (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): Remove define. * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): Remove. * langhooks.h (struct lang_hooks_for_tree_inlining): Remove convert_parm_for_inlining member. * gcc.dg/pr29254.c: The warning is bogus. * gcc.dg/warn-1.c: Likewise. * gcc.dg/assign-warn-3.c: Likewise. * gcc.dg/noncompile/pr16876.c: The testcase is bogus, remove. From-SVN: r125974
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
20000901-1.c | Loading commit data... | |
20001228-1.c | Loading commit data... | |
20010425-1.c | Loading commit data... | |
20010524-1.c | Loading commit data... | |
20011025-1.c | Loading commit data... | |
20020130-1.c | Loading commit data... | |
20020207-1.c | Loading commit data... | |
20020213-1.c | Loading commit data... | |
20020220-1.c | Loading commit data... | |
20030818-1.c | Loading commit data... | |
20040203-1.c | Loading commit data... | |
20040203-2.c | Loading commit data... | |
20040203-3.c | Loading commit data... | |
20040629-1.c | Loading commit data... | |
20041207.c | Loading commit data... | |
20050120-1.c | Loading commit data... | |
920507-1.c | Loading commit data... | |
920616-2.c | Loading commit data... | |
920721-2.c | Loading commit data... | |
920824-1.c | Loading commit data... | |
920923-1.c | Loading commit data... | |
921102-1.c | Loading commit data... | |
921116-1.c | Loading commit data... | |
930301-1.c | Loading commit data... | |
930622-1.c | Loading commit data... | |
930622-2.c | Loading commit data... | |
930714-1.c | Loading commit data... | |
931203-1.c | Loading commit data... | |
940112-1.c | Loading commit data... | |
940227-1.c | Loading commit data... | |
950825-1.c | Loading commit data... | |
950921-1.c | Loading commit data... | |
951123-1.c | Loading commit data... | |
971104-1.c | Loading commit data... | |
990416-1.c | Loading commit data... | |
const-ll-1.c | Loading commit data... | |
incomplete-1.c | Loading commit data... | |
incomplete-2.c | Loading commit data... | |
incomplete-3.c | Loading commit data... | |
init-1.c | Loading commit data... | |
init-2.c | Loading commit data... | |
init-3.c | Loading commit data... | |
init-4.c | Loading commit data... | |
invalid_asm.c | Loading commit data... | |
label-1.c | Loading commit data... | |
label-lineno-1.c | Loading commit data... | |
noncompile.exp | Loading commit data... | |
old-style-parm-1.c | Loading commit data... | |
old-style-parm-2.c | Loading commit data... | |
pr23576.c | Loading commit data... | |
redecl-1.c | Loading commit data... | |
scope.c | Loading commit data... | |
undeclared-1.c | Loading commit data... | |
undeclared-2.c | Loading commit data... | |
va-arg-1.c | Loading commit data... | |
voidparam-1.c | Loading commit data... |