OSDN Git Service

PR target/47101
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Dec 2010 14:19:06 +0000 (14:19 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Dec 2010 14:19:06 +0000 (14:19 +0000)
* vmsdbgout.c (vmsdbgout_init): Rename main_input_filename to filename.
(vmsdbgout_finish): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168346 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/vmsdbgout.c

index 9efdd32..040d582 100644 (file)
        * config/alpha/vms.h (MALLOC_ALIGNMENT): Don't undef / define.
        (MALLOC_ABI_ALIGNMENT): Undef / define.
 
+       PR target/47101
+       * vmsdbgout.c (vmsdbgout_init): Rename main_input_filename to filename.
+       (vmsdbgout_finish): Likewise.
+
 2010-12-29  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/47074
index 2278d1a..9353839 100644 (file)
@@ -1454,18 +1454,18 @@ vmsdbgout_end_source_file (unsigned int lineno ATTRIBUTE_UNUSED)
 /* Set up for Debug output at the start of compilation.  */
 
 static void
-vmsdbgout_init (const char *main_input_filename)
+vmsdbgout_init (const char *filename)
 {
   const char *language_string = lang_hooks.name;
 
   if (write_symbols == VMS_AND_DWARF2_DEBUG)
-    (*dwarf2_debug_hooks.init) (main_input_filename);
+    (*dwarf2_debug_hooks.init) (filename);
 
   if (debug_info_level == DINFO_LEVEL_NONE)
     return;
 
   /* Remember the name of the primary input file.  */
-  primary_filename = main_input_filename;
+  primary_filename = filename;
 
   /* Allocate the initial hunk of the file_info_table.  */
   file_info_table = XCNEWVEC (dst_file_info_entry, FILE_TABLE_INCREMENT);
@@ -1568,13 +1568,13 @@ vmsdbgout_abstract_function (tree decl)
    VMS Debug debugging info.  */
 
 static void
-vmsdbgout_finish (const char *main_input_filename ATTRIBUTE_UNUSED)
+vmsdbgout_finish (const char *filename ATTRIBUTE_UNUSED)
 {
   unsigned int i, ifunc;
   int totsize;
 
   if (write_symbols == VMS_AND_DWARF2_DEBUG)
-    (*dwarf2_debug_hooks.finish) (main_input_filename);
+    (*dwarf2_debug_hooks.finish) (filename);
 
   if (debug_info_level == DINFO_LEVEL_NONE)
     return;