Commit bccd95ae by Mark Mitchell Committed by Mark Mitchell

decl.c (init_decl_processing): Set flag_inline_trees if !flag_no_inline.

	* decl.c (init_decl_processing): Set flag_inline_trees if
	!flag_no_inline.

From-SVN: r30792
parent 77cf4d55
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment