]> gcc.gnu.org Git - gcc.git/commitdiff
decl.c (init_decl_processing): Set flag_inline_trees if !flag_no_inline.
authorMark Mitchell <mark@codesourcery.com>
Sun, 5 Dec 1999 20:04:37 +0000 (20:04 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 5 Dec 1999 20:04:37 +0000 (20:04 +0000)
* decl.c (init_decl_processing): Set flag_inline_trees if
!flag_no_inline.

From-SVN: r30792

gcc/cp/ChangeLog
gcc/cp/decl.c

index 01ee07692fc1f4d02eebe692e56d8d1e7264051f..2a007f8677e52a4eb7809b66bfe0b6b2eb7a0c30 100644 (file)
@@ -1,5 +1,8 @@
 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
 
+       * decl.c (init_decl_processing): Set flag_inline_trees if
+       !flag_no_inline.
+
        * cp-tree.h (calls_setjmp_p): Declare.
        * decl.c (finish_function): Mark functions that call setjmp as
        uninlinable.
index 031e666943326d8c42a18c9990fba8d17f88e99b..b6a62ea48348bb396e93378bb3218f562fee502a 100644 (file)
@@ -5968,10 +5968,13 @@ init_decl_processing ()
   global_namespace = current_namespace;
   current_lang_name = NULL_TREE;
 
+  /* Adjust various flags based on command-line settings.  */
   if (flag_strict_prototype == 2)
     flag_strict_prototype = pedantic;
   if (! flag_permissive && ! pedantic)
     flag_pedantic_errors = 1;
+  if (!flag_no_inline)
+    flag_inline_trees = 1;
 
   strict_prototypes_lang_c = flag_strict_prototype;
 
This page took 0.121995 seconds and 5 git commands to generate.