varasm.c (output_constructor): Annotate constructor.

2003-10-21  Andrew Haley  <aph@redhat.com>

        * varasm.c (output_constructor): Annotate constructor.

From-SVN: r72759
This commit is contained in:
Andrew Haley 2003-10-21 15:32:27 +00:00 committed by Andrew Haley
parent 3d56d02516
commit bce988a2f5
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-10-21 Andrew Haley <aph@redhat.com>
* varasm.c (output_constructor): Annotate constructor.
2003-10-21 Mark Mitchell <mark@codesourcery.com>
* Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod

View File

@ -3931,6 +3931,13 @@ output_constructor (tree exp, unsigned HOST_WIDE_INT size,
else if (TREE_CODE (type) == ARRAY_TYPE)
index = TREE_PURPOSE (link);
if (field && flag_verbose_asm)
fprintf (asm_out_file, "%s %s:\n",
ASM_COMMENT_START,
DECL_NAME (field)
? IDENTIFIER_POINTER (DECL_NAME (field))
: "<anonymous>");
/* Eliminate the marker that makes a cast not be an lvalue. */
if (val != 0)
STRIP_NOPS (val);