From: Andrew Haley Date: Wed, 22 Oct 2003 09:50:06 +0000 (+0000) Subject: varasm.c (output_constructor): Make constructor annotation conditional on ASM_COMMENT... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=907393db60581bbcfd8a1601027f0761245340c2;p=gcc.git varasm.c (output_constructor): Make constructor annotation conditional on ASM_COMMENT_START. 2003-10-22 Andrew Haley * varasm.c (output_constructor): Make constructor annotation conditional on ASM_COMMENT_START. From-SVN: r72793 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ec11656e30..32d620891f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-10-22 Andrew Haley + + * varasm.c (output_constructor): Make constructor annotation + conditional on ASM_COMMENT_START. + 2003-10-21 Jason Merrill * tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type. diff --git a/gcc/varasm.c b/gcc/varasm.c index 45681941d1a..cb5503d896a 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)) : ""); +#endif /* Eliminate the marker that makes a cast not be an lvalue. */ if (val != 0)