Commit 907393db by Andrew Haley Committed by Andrew Haley

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
parent 0c644933
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> 2003-10-21 Jason Merrill <jason@redhat.com>
* tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type. * tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type.
......
...@@ -3931,12 +3931,14 @@ output_constructor (tree exp, unsigned HOST_WIDE_INT size, ...@@ -3931,12 +3931,14 @@ output_constructor (tree exp, unsigned HOST_WIDE_INT size,
else if (TREE_CODE (type) == ARRAY_TYPE) else if (TREE_CODE (type) == ARRAY_TYPE)
index = TREE_PURPOSE (link); index = TREE_PURPOSE (link);
#ifdef ASM_COMMENT_START
if (field && flag_verbose_asm) if (field && flag_verbose_asm)
fprintf (asm_out_file, "%s %s:\n", fprintf (asm_out_file, "%s %s:\n",
ASM_COMMENT_START, ASM_COMMENT_START,
DECL_NAME (field) DECL_NAME (field)
? IDENTIFIER_POINTER (DECL_NAME (field)) ? IDENTIFIER_POINTER (DECL_NAME (field))
: "<anonymous>"); : "<anonymous>");
#endif
/* Eliminate the marker that makes a cast not be an lvalue. */ /* Eliminate the marker that makes a cast not be an lvalue. */
if (val != 0) if (val != 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment