summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-21 23:15:38 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-21 23:15:38 +0000
commitc31da6e7ee76fb3e31316d408f4ac94dd07b0ead (patch)
tree3beb113603745e909f02ca89d980838212400f0a /gcc/c-common.c
parent5bcbe7f8b2ccd80f0c1b10851901f6ac17907459 (diff)
downloadgcc-c31da6e7ee76fb3e31316d408f4ac94dd07b0ead.tar.gz
2002-03-21 Aldy Hernandez <aldyh@redhat.com>
* langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check flag_really_no_inline instead of optimize == 0. * c-objc-common.c (c_cannot_inline_tree_fn): Same. * cp/tree.c (cp_cannot_inline_tree_fn): Same. * flags.h (flag_really_no_inline): New. * c-common.c (c_common_post_options): Initialzie flag_really_no_inline. * toplev.c (flag_really_no_inline): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51146 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index cae7ca8240d..228f41b10fe 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -4100,6 +4100,9 @@ c_common_post_options ()
{
cpp_post_options (parse_in);
+ /* Save no-inline information we may clobber below. */
+ flag_really_no_inline = flag_no_inline;
+
flag_inline_trees = 1;
/* Use tree inlining if possible. Function instrumentation is only