summaryrefslogtreecommitdiff
path: root/gcc/config/nextstep.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-19 09:42:11 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-19 09:42:11 +0000
commitdd2acd8374435c683ec974b753193dfdd6065a14 (patch)
tree1279f2c86a2d7f56c162a81d8ff2ce20872bda4f /gcc/config/nextstep.c
parent5d3807c2808ca1d4ec7de18e64484544e26a5f63 (diff)
downloadgcc-dd2acd8374435c683ec974b753193dfdd6065a14.tar.gz
* stupid.c: Die die die.
* Makefile.in (OBJS): Remove stupid.o. (stupid.o): Likewise. * except.c (emit_eh_context): Don't emit USEs for stupid. * explow.c (probe_stack_range): Likewise. * flags.h (obey_regdecls): Remove. * flow.c (find_basic_blocks): Don't run try_merge_blocks when not optimizing. (life_analysis): Limit data collection when not optimizing. (mark_regs_live_at_end): Always mark the return value registers. (mark_used_regs): Remove dummy RETURN case. (print_rtl_with_bb): Don't consult obey_regdecls. * function.c (use_variable, use_variable_after): Remove. (assign_parms): Consult optimize not obey_regdecls. (expand_function_start): Don't emit USEs for stupid. (expand_function_end): Likewise. * global.c (build_insn_chain): Export. * integrate.c (expand_inline_function): Kill return-value USE handling code. * jump.c (jump_optimize_1): Do simple jump optimizations and dead code elimination. (calculate_can_reach_end): Remove check_deleted argument. (delete_insn): Patch out insns even when not optimizing. * local-alloc.c (block_alloc): Don't do tying when not optimizing. * rtl.h (use_variable, use_variable_after): Remove declarations. (build_insn_chain): Declare. * stmt.c (expand_value_return): Don't emit USEs for stupid. (expand_end_bindings): Likewise. (expand_decl): Likewise. Consult optimize not obey_regdecls. * toplev.c (obey_regdecls): Remove. (rest_of_compilation): Don't set it. Kill stupid in favour of flow1, local-alloc, and reload. (main): Don't set obey_regdecls. * config/nextstep.c (handle_pragma): Likewise. * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid. * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31499 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/nextstep.c')
-rw-r--r--gcc/config/nextstep.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/config/nextstep.c b/gcc/config/nextstep.c
index 1c658fb1171..f7d85bdad27 100644
--- a/gcc/config/nextstep.c
+++ b/gcc/config/nextstep.c
@@ -61,13 +61,13 @@ handle_pragma (p_getc, p_ungetc, pname)
if (strcmp (pname, "CC_OPT_ON") == 0)
{
- optimize = 1, obey_regdecls = 0;
+ optimize = 1;
warning ("optimization turned on");
retval = 1;
}
else if (strcmp (pname, "CC_OPT_OFF") == 0)
{
- optimize = 0, obey_regdecls = 1;
+ optimize = 0;
warning ("optimization turned off");
retval = 1;
}
@@ -76,13 +76,7 @@ handle_pragma (p_getc, p_ungetc, pname)
extern int initial_optimize_flag;
if (optimize != initial_optimize_flag)
- {
- if (initial_optimize_flag)
- obey_regdecls = 0;
- else
- obey_regdecls = 1;
- optimize = initial_optimize_flag;
- }
+ optimize = initial_optimize_flag;
warning ("optimization level restored");
retval = 1;
}