2003-10-22 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Oct 2003 09:50:06 +0000 (09:50 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Oct 2003 09:50:06 +0000 (09:50 +0000)
* varasm.c (output_constructor): Make constructor annotation
conditional on ASM_COMMENT_START.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72793 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/varasm.c

index 1ec1165..32d6208 100644 (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.
index 4568194..cb5503d 100644 (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)