aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2003-10-22 09:50:06 +0000
committerAndrew Haley <aph@gcc.gnu.org>2003-10-22 09:50:06 +0000
commit907393db60581bbcfd8a1601027f0761245340c2 (patch)
treefd68ee7dc25f95bb56e8e4d3876b654a62e59cf2 /gcc/varasm.c
parent0c644933b86d506a4b6dd9bdb6b054f6aed24df9 (diff)
downloadgcc-907393db60581bbcfd8a1601027f0761245340c2.zip
gcc-907393db60581bbcfd8a1601027f0761245340c2.tar.gz
gcc-907393db60581bbcfd8a1601027f0761245340c2.tar.bz2
varasm.c (output_constructor): Make constructor annotation conditional on ASM_COMMENT_START.
2003-10-22 Andrew Haley <aph@redhat.com> * varasm.c (output_constructor): Make constructor annotation conditional on ASM_COMMENT_START. From-SVN: r72793
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 4568194..cb5503d 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -3931,12 +3931,14 @@ output_constructor (tree exp, unsigned HOST_WIDE_INT size,
else if (TREE_CODE (type) == ARRAY_TYPE)
index = TREE_PURPOSE (link);
+#ifdef ASM_COMMENT_START
if (field && flag_verbose_asm)
fprintf (asm_out_file, "%s %s:\n",
ASM_COMMENT_START,
DECL_NAME (field)
? IDENTIFIER_POINTER (DECL_NAME (field))
: "<anonymous>");
+#endif
/* Eliminate the marker that makes a cast not be an lvalue. */
if (val != 0)