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
This commit is contained in:
Andrew Haley 2003-10-22 09:50:06 +00:00 committed by Andrew Haley
parent 0c644933b8
commit 907393db60
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-10-22 Andrew Haley <aph@redhat.com>
* varasm.c (output_constructor): Make constructor annotation
conditional on ASM_COMMENT_START.
2003-10-21 Jason Merrill <jason@redhat.com>
* tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type.

View File

@ -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)