OSDN Git Service

x
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Aug 1997 18:48:18 +0000 (18:48 +0000)
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Aug 1997 18:48:18 +0000 (18:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14600 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/toplev.c

index cb11ab4..434cfd4 100644 (file)
@@ -126,11 +126,6 @@ You Lose!  You must define PREFERRED_DEBUGGING_TYPE!
 #define PREFERRED_DEBUGGING_TYPE NO_DEBUG
 #endif
 
-#ifdef DWARF2_DEBUGGING_INFO
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-#endif
-
 extern int rtx_equal_function_value_matters;
 
 #if ! (defined (VMS) || defined (OS2))
@@ -244,7 +239,6 @@ extern int target_flags;
 int rtl_dump = 0;
 int rtl_dump_and_exit = 0;
 int jump_opt_dump = 0;
-int addressof_dump = 0;
 int cse_dump = 0;
 int loop_dump = 0;
 int cse2_dump = 0;
@@ -858,7 +852,6 @@ FILE *asm_out_file;
 FILE *aux_info_file;
 FILE *rtl_dump_file;
 FILE *jump_opt_dump_file;
-FILE *addressof_dump_file;
 FILE *cse_dump_file;
 FILE *loop_dump_file;
 FILE *cse2_dump_file;
@@ -1023,8 +1016,6 @@ fatal_insn (message, insn)
     fflush (rtl_dump_file);
   if (jump_opt_dump_file)
     fflush (jump_opt_dump_file);
-  if (addressof_dump_file)
-    fflush (addressof_dump_file);
   if (cse_dump_file)
     fflush (cse_dump_file);
   if (loop_dump_file)
@@ -2187,10 +2178,6 @@ compile_file (name)
   if (jump_opt_dump)
     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)
     cse_dump_file = open_dump_file (dump_base_name, ".cse");
@@ -2678,9 +2665,6 @@ compile_file (name)
   if (jump_opt_dump)
     fclose (jump_opt_dump_file);
 
-  if (addressof_dump)
-    fclose (addressof_dump_file);
-
   if (cse_dump)
     fclose (cse_dump_file);
 
@@ -2944,18 +2928,6 @@ rest_of_compilation (decl)
         functions containing nested functions since the nested function
         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
          && (DECL_DEFER_OUTPUT (decl)
              || (DECL_INLINE (decl)
@@ -3148,18 +3120,6 @@ rest_of_compilation (decl)
               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)
     TIMEVAR (dump_time,
             {
@@ -3773,7 +3733,6 @@ main (argc, argv, envp)
                    flow_dump = 1;
                    global_reg_dump = 1;
                    jump_opt_dump = 1;
-                   addressof_dump = 1;
                    jump2_opt_dump = 1;
                    local_reg_dump = 1;
                    loop_dump = 1;
@@ -3804,9 +3763,6 @@ main (argc, argv, envp)
                  case 'j':
                    jump_opt_dump = 1;
                    break;
-                 case 'D':
-                   addressof_dump = 1;
-                   break;
                  case 'J':
                    jump2_opt_dump = 1;
                    break;