varasm.c (output_constructor): Make constructor annotation conditional on ASM_COMMENT...
authorAndrew Haley <aph@redhat.com>
Wed, 22 Oct 2003 09:50:06 +0000 (09:50 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Wed, 22 Oct 2003 09:50:06 +0000 (09:50 +0000)
2003-10-22  Andrew Haley  <aph@redhat.com>

* varasm.c (output_constructor): Make constructor annotation
conditional on ASM_COMMENT_START.

From-SVN: r72793

gcc/ChangeLog
gcc/varasm.c

index 1ec11656e300eb629f1e79510c80b8707aa90e4e..32d620891f20be11cdfe53fc18b21a8cf05b6d57 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 45681941d1a0f9cd3c2cf481c654ba0c720182d3..cb5503d896a14e30dfad88fd7e34b7eaf7d3c7ae 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)