aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2003-10-21 15:32:27 +0000
committerAndrew Haley <aph@gcc.gnu.org>2003-10-21 15:32:27 +0000
commitbce988a2f5ba187e20b53a861b01188e7b3bbcf5 (patch)
tree0af4dd63c8eb8398d54c1d9ad6976684db1d9a39 /gcc/varasm.c
parent3d56d025168880a323e6b1985a4ff8ca357a475d (diff)
downloadgcc-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
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c7
1 files changed, 7 insertions, 0 deletions
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);