aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2011-02-15 18:36:44 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2011-02-15 18:36:44 +0000
commit30925d946aa6b2bf93cc9f090ca517f3622df1ff (patch)
tree9313ad3b545e7a4daed208b127cfbe5ded452723 /gcc/tree-inline.h
parent1b9a784a8988c08979949b85fcf9746574a72ae0 (diff)
downloadgcc-30925d946aa6b2bf93cc9f090ca517f3622df1ff.zip
gcc-30925d946aa6b2bf93cc9f090ca517f3622df1ff.tar.gz
gcc-30925d946aa6b2bf93cc9f090ca517f3622df1ff.tar.bz2
re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining -flto -fconserve-stack)
PR debug/47106 PR debug/47402 * tree-inline.h (estimated_stack_frame_size): Take cgraph node rather than decl. * cfgexpand.c (estimated_stack_frame_size): Likewise. * ipa-inline.c (compute_inline_parameters): Adjust. From-SVN: r170187
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r--gcc/tree-inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h
index 738a866..66cc334 100644
--- a/gcc/tree-inline.h
+++ b/gcc/tree-inline.h
@@ -188,6 +188,6 @@ extern tree remap_decl (tree decl, copy_body_data *id);
extern tree remap_type (tree type, copy_body_data *id);
extern gimple_seq copy_gimple_seq_and_replace_locals (gimple_seq seq);
-extern HOST_WIDE_INT estimated_stack_frame_size (tree);
+extern HOST_WIDE_INT estimated_stack_frame_size (struct cgraph_node *);
#endif /* GCC_TREE_INLINE_H */