aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/c-tree.texi
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-03-02 17:02:13 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-03-02 17:02:13 +0000
commitbdc2893ce826f67f466aa0f5b214ddfd4b312222 (patch)
treef4b3c90cd460907dee5d9cf01810565aa699fcdb /gcc/doc/c-tree.texi
parent2de2f846a2684f9452a1aeacf9fcab57b13a2c40 (diff)
downloadgcc-bdc2893ce826f67f466aa0f5b214ddfd4b312222.zip
gcc-bdc2893ce826f67f466aa0f5b214ddfd4b312222.tar.gz
gcc-bdc2893ce826f67f466aa0f5b214ddfd4b312222.tar.bz2
c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this macro results in memory allocation.
* doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this macro results in memory allocation. From-SVN: r78767
Diffstat (limited to 'gcc/doc/c-tree.texi')
-rw-r--r--gcc/doc/c-tree.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
index d1afe65..8cd059e 100644
--- a/gcc/doc/c-tree.texi
+++ b/gcc/doc/c-tree.texi
@@ -1105,6 +1105,13 @@ platform, it is the responsibility of the back end to perform those
modifications. (Of course, the back end should not modify
@code{DECL_ASSEMBLER_NAME} itself.)
+Using @code{DECL_ASSEMBLER_NAME} will cause additional memory to be
+allocated (for the mangled name of the entity) so it should be used
+only when emitting assembly code. It should not be used within the
+optimizers to determine whether or not two declarations are the same,
+even though some of the existing optimizers do use it in that way.
+These uses will be removed over time.
+
@item DECL_EXTERNAL
This predicate holds if the function is undefined.