Commit ec045ab4 by Jason Merrill

x

From-SVN: r14600
parent 58a1b05a
...@@ -126,11 +126,6 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! ...@@ -126,11 +126,6 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#define PREFERRED_DEBUGGING_TYPE NO_DEBUG #define PREFERRED_DEBUGGING_TYPE NO_DEBUG
#endif #endif
#ifdef DWARF2_DEBUGGING_INFO
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#endif
extern int rtx_equal_function_value_matters; extern int rtx_equal_function_value_matters;
#if ! (defined (VMS) || defined (OS2)) #if ! (defined (VMS) || defined (OS2))
...@@ -244,7 +239,6 @@ extern int target_flags; ...@@ -244,7 +239,6 @@ extern int target_flags;
int rtl_dump = 0; int rtl_dump = 0;
int rtl_dump_and_exit = 0; int rtl_dump_and_exit = 0;
int jump_opt_dump = 0; int jump_opt_dump = 0;
int addressof_dump = 0;
int cse_dump = 0; int cse_dump = 0;
int loop_dump = 0; int loop_dump = 0;
int cse2_dump = 0; int cse2_dump = 0;
...@@ -858,7 +852,6 @@ FILE *asm_out_file; ...@@ -858,7 +852,6 @@ FILE *asm_out_file;
FILE *aux_info_file; FILE *aux_info_file;
FILE *rtl_dump_file; FILE *rtl_dump_file;
FILE *jump_opt_dump_file; FILE *jump_opt_dump_file;
FILE *addressof_dump_file;
FILE *cse_dump_file; FILE *cse_dump_file;
FILE *loop_dump_file; FILE *loop_dump_file;
FILE *cse2_dump_file; FILE *cse2_dump_file;
...@@ -1023,8 +1016,6 @@ fatal_insn (message, insn) ...@@ -1023,8 +1016,6 @@ fatal_insn (message, insn)
fflush (rtl_dump_file); fflush (rtl_dump_file);
if (jump_opt_dump_file) if (jump_opt_dump_file)
fflush (jump_opt_dump_file); fflush (jump_opt_dump_file);
if (addressof_dump_file)
fflush (addressof_dump_file);
if (cse_dump_file) if (cse_dump_file)
fflush (cse_dump_file); fflush (cse_dump_file);
if (loop_dump_file) if (loop_dump_file)
...@@ -2187,10 +2178,6 @@ compile_file (name) ...@@ -2187,10 +2178,6 @@ compile_file (name)
if (jump_opt_dump) if (jump_opt_dump)
jump_opt_dump_file = open_dump_file (dump_base_name, ".jump"); jump_opt_dump_file = open_dump_file (dump_base_name, ".jump");
/* If addressof dump desired, open the output file. */
if (addressof_dump)
addressof_dump_file = open_dump_file (dump_base_name, ".addressof");
/* If cse dump desired, open the output file. */ /* If cse dump desired, open the output file. */
if (cse_dump) if (cse_dump)
cse_dump_file = open_dump_file (dump_base_name, ".cse"); cse_dump_file = open_dump_file (dump_base_name, ".cse");
...@@ -2678,9 +2665,6 @@ compile_file (name) ...@@ -2678,9 +2665,6 @@ compile_file (name)
if (jump_opt_dump) if (jump_opt_dump)
fclose (jump_opt_dump_file); fclose (jump_opt_dump_file);
if (addressof_dump)
fclose (addressof_dump_file);
if (cse_dump) if (cse_dump)
fclose (cse_dump_file); fclose (cse_dump_file);
...@@ -2944,18 +2928,6 @@ rest_of_compilation (decl) ...@@ -2944,18 +2928,6 @@ rest_of_compilation (decl)
functions containing nested functions since the nested function functions containing nested functions since the nested function
data is in our non-saved obstack. */ data is in our non-saved obstack. */
/* If this is a nested inline, remove ADDRESSOF now so we can
finish compiling ourselves. Otherwise, wait until EOF.
We have to do this because the purge_addressof transformation
changes the DECL_RTL for many variables, which confuses integrate. */
if (DECL_INLINE (decl))
{
if (decl_function_context (decl))
purge_addressof (insns);
else
DECL_DEFER_OUTPUT (decl) = 1;
}
if (! current_function_contains_functions if (! current_function_contains_functions
&& (DECL_DEFER_OUTPUT (decl) && (DECL_DEFER_OUTPUT (decl)
|| (DECL_INLINE (decl) || (DECL_INLINE (decl)
...@@ -3148,18 +3120,6 @@ rest_of_compilation (decl) ...@@ -3148,18 +3120,6 @@ rest_of_compilation (decl)
fflush (cse_dump_file); fflush (cse_dump_file);
}); });
purge_addressof (insns);
reg_scan (insns, max_reg_num (), 1);
if (addressof_dump)
TIMEVAR (dump_time,
{
fprintf (addressof_dump_file, "\n;; Function %s\n\n",
(*decl_printable_name) (decl, 2));
print_rtl (addressof_dump_file, insns);
fflush (addressof_dump_file);
});
if (loop_dump) if (loop_dump)
TIMEVAR (dump_time, TIMEVAR (dump_time,
{ {
...@@ -3773,7 +3733,6 @@ main (argc, argv, envp) ...@@ -3773,7 +3733,6 @@ main (argc, argv, envp)
flow_dump = 1; flow_dump = 1;
global_reg_dump = 1; global_reg_dump = 1;
jump_opt_dump = 1; jump_opt_dump = 1;
addressof_dump = 1;
jump2_opt_dump = 1; jump2_opt_dump = 1;
local_reg_dump = 1; local_reg_dump = 1;
loop_dump = 1; loop_dump = 1;
...@@ -3804,9 +3763,6 @@ main (argc, argv, envp) ...@@ -3804,9 +3763,6 @@ main (argc, argv, envp)
case 'j': case 'j':
jump_opt_dump = 1; jump_opt_dump = 1;
break; break;
case 'D':
addressof_dump = 1;
break;
case 'J': case 'J':
jump2_opt_dump = 1; jump2_opt_dump = 1;
break; break;
......
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