diff options
author | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | 2010-07-08 09:29:43 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana@gcc.gnu.org> | 2010-07-08 09:29:43 +0000 |
commit | 2e1ec94ff0b0a954d540332b400d5376498ee7f7 (patch) | |
tree | 01b97f48f60b6b26a33e36c02e9c0c36908cc106 /gcc/ipa-inline.c | |
parent | a03a9774c1c1ec8e9eac9c0f06cd52868d9fc452 (diff) | |
download | gcc-2e1ec94ff0b0a954d540332b400d5376498ee7f7.zip gcc-2e1ec94ff0b0a954d540332b400d5376498ee7f7.tar.gz gcc-2e1ec94ff0b0a954d540332b400d5376498ee7f7.tar.bz2 |
Fix PR44768
From-SVN: r161947
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 08f2ac3..201e04a 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -2019,7 +2019,7 @@ compute_inline_parameters (struct cgraph_node *node) /* Estimate the stack size for the function. But not at -O0 because estimated_stack_frame_size is a quadratic problem. */ - self_stack_size = optimize ? estimated_stack_frame_size () : 0; + self_stack_size = optimize ? estimated_stack_frame_size (node->decl) : 0; inline_summary (node)->estimated_self_stack_size = self_stack_size; node->global.estimated_stack_size = self_stack_size; node->global.stack_frame_offset = 0; |