summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-09 20:18:32 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-09 20:18:32 +0000
commit2d0a9e440ffc10b8bc7805cd268f36b298fcb8af (patch)
tree46f5b9e96153860f2351a71bb767362038a0ca94 /gcc/toplev.c
parenta6b622eb03be06091ebe6995d778335dc84d8d2b (diff)
downloadgcc-2d0a9e440ffc10b8bc7805cd268f36b298fcb8af.tar.gz
Move ASM_COMMENT_START to defaults.h.
Note the extreme silliness in dwarf2out.c with 3 (three) copies. * defaults.h (ASM_COMMENT_START): Move here... * dwarf2asm.c: ... from here. * dwarf2out.c, final.c, vmsdbgout.c: Remove duplicates. * toplev.c: Remove ifndef tests of ASM_COMMENT_START. * varasm.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176093 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 4591c30264d..109325cc871 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -722,7 +722,6 @@ print_version (FILE *file, const char *indent)
print_plugins_versions (file, indent);
}
-#ifdef ASM_COMMENT_START
static int
print_to_asm_out_file (print_switch_type type, const char * text)
{
@@ -755,7 +754,6 @@ print_to_asm_out_file (print_switch_type type, const char * text)
return -1;
}
}
-#endif
static int
print_to_stderr (print_switch_type type, const char * text)
@@ -921,7 +919,6 @@ init_asm_output (const char *name)
inform (input_location, "-frecord-gcc-switches is not supported by the current target");
}
-#ifdef ASM_COMMENT_START
if (flag_verbose_asm)
{
/* Print the list of switches in effect
@@ -930,7 +927,6 @@ init_asm_output (const char *name)
print_switch_values (print_to_asm_out_file);
putc ('\n', asm_out_file);
}
-#endif
}
}