re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining -flto...
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 15 Feb 2011 18:36:44 +0000 (18:36 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 15 Feb 2011 18:36:44 +0000 (18:36 +0000)
commit30925d946aa6b2bf93cc9f090ca517f3622df1ff
tree9313ad3b545e7a4daed208b127cfbe5ded452723
parent1b9a784a8988c08979949b85fcf9746574a72ae0
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
gcc/ChangeLog
gcc/cfgexpand.c
gcc/ipa-inline.c
gcc/tree-inline.h