diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-21 15:32:27 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-21 15:32:27 +0000 |
commit | 1cfa4bddb2eb30974103b448ab7a861c48f35f84 (patch) | |
tree | 0af4dd63c8eb8398d54c1d9ad6976684db1d9a39 /gcc/varasm.c | |
parent | 4774361945333bda144478fc7b91c91573bbc4f2 (diff) | |
download | ppe42-gcc-1cfa4bddb2eb30974103b448ab7a861c48f35f84.tar.gz ppe42-gcc-1cfa4bddb2eb30974103b448ab7a861c48f35f84.zip |
2003-10-21 Andrew Haley <aph@redhat.com>
* varasm.c (output_constructor): Annotate constructor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 561dc4ace22..45681941d1a 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); |