diff options
author | Andrew Haley <aph@redhat.com> | 2003-10-21 15:32:27 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2003-10-21 15:32:27 +0000 |
commit | bce988a2f5ba187e20b53a861b01188e7b3bbcf5 (patch) | |
tree | 0af4dd63c8eb8398d54c1d9ad6976684db1d9a39 | |
parent | 3d56d025168880a323e6b1985a4ff8ca357a475d (diff) | |
download | gcc-bce988a2f5ba187e20b53a861b01188e7b3bbcf5.zip gcc-bce988a2f5ba187e20b53a861b01188e7b3bbcf5.tar.gz gcc-bce988a2f5ba187e20b53a861b01188e7b3bbcf5.tar.bz2 |
varasm.c (output_constructor): Annotate constructor.
2003-10-21 Andrew Haley <aph@redhat.com>
* varasm.c (output_constructor): Annotate constructor.
From-SVN: r72759
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/varasm.c | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae773f0..f00f896 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/varasm.c b/gcc/varasm.c index 561dc4a..4568194 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -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); |