aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/misc.c
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2004-11-24 19:45:32 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-11-24 19:45:32 +0000
commit39afeb1aad63cf3e2dcfb7a93e20f014bc5dc28e (patch)
treee03bd7fb108fe9325c02bc63b1552f84968a2f97 /gcc/ada/misc.c
parent41f683efe5ab3b56b38ae6be0320232bf444dd83 (diff)
downloadgcc-39afeb1aad63cf3e2dcfb7a93e20f014bc5dc28e.zip
gcc-39afeb1aad63cf3e2dcfb7a93e20f014bc5dc28e.tar.gz
gcc-39afeb1aad63cf3e2dcfb7a93e20f014bc5dc28e.tar.bz2
c-opts.c (c_common_post_options): Don't clear flag_inline_functions.
gcc/ * c-opts.c (c_common_post_options): Don't clear flag_inline_functions. * dojump.c (clear_pending_stack_adjust): Remove check on flag_inline_functions, it's always true. * config/alpha/alpha.md (movdi_er_maybe_g): Remove splitter that can never trigger. * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Don't look at flag_inline_trees, now that flag_inline_functions is never cleared. * config/pdp11/pdp11.h (OPTIMIZATION_OPTIONS): Don't set flag_inline_functions at optimization levels greater than or equal to 3. This is already done by default. ada/ * misc.c (gnat_post_options): Don't clear flag_inline_functions. cp/ * decl.c (cxx_init_decl_processing): Don't clear flag_inline_functions. fortran/ * options.c (gfc_post_options): Don't clear flag_inline_functions. java/ * class.c (make_class_data): Don't check flag_inline_functions. * lang.c (flag_really_inline): Remove unused flag. (java_handle_option): Don't set it here. Remove special handling of flag_inline_functions for Java. (java_init): Don't set flag_inline_trees here. Already done... (java_post_options): ...here. Don't clear flag_inline_functions. From-SVN: r91190
Diffstat (limited to 'gcc/ada/misc.c')
-rw-r--r--gcc/ada/misc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c
index 7f77df3..6e871b5 100644
--- a/gcc/ada/misc.c
+++ b/gcc/ada/misc.c
@@ -352,10 +352,7 @@ gnat_post_options (const char **pfilename ATTRIBUTE_UNUSED)
if (!flag_no_inline)
flag_no_inline = 1;
if (flag_inline_functions)
- {
- flag_inline_trees = 2;
- flag_inline_functions = 0;
- }
+ flag_inline_trees = 2;
return false;
}