summaryrefslogtreecommitdiff
path: root/gcc/vmsdbgout.c
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@spamcop.net>2010-12-30 14:19:06 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-12-30 14:19:06 +0000
commit829f3c640f8e5375345115a1871a0e54e7fe2170 (patch)
tree53e1eda02461d0a5bf65a95e426e8e306b1b1b92 /gcc/vmsdbgout.c
parentff1bb6eeed0da991a191b6f9c8be3d043c869c73 (diff)
downloadgcc-829f3c640f8e5375345115a1871a0e54e7fe2170.tar.gz
re PR target/47101 (ia64-hp-vms: main_input_filename clash)
PR target/47101 * vmsdbgout.c (vmsdbgout_init): Rename main_input_filename to filename. (vmsdbgout_finish): Likewise. From-SVN: r168346
Diffstat (limited to 'gcc/vmsdbgout.c')
-rw-r--r--gcc/vmsdbgout.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/vmsdbgout.c b/gcc/vmsdbgout.c
index 2278d1ab30d..9353839d343 100644
--- a/gcc/vmsdbgout.c
+++ b/gcc/vmsdbgout.c
@@ -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;