]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this macro results in memory...
authorMark Mitchell <mark@codesourcery.com>
Tue, 2 Mar 2004 17:02:13 +0000 (17:02 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 2 Mar 2004 17:02:13 +0000 (17:02 +0000)
* doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this
macro results in memory allocation.

From-SVN: r78767

gcc/ChangeLog
gcc/doc/c-tree.texi

index 0a6a908ce64cf3c585834765fefe252fcc1b05ed..2df466298fec43a5600119244dba721e8cda5bea 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-02  Mark Mitchell  <mark@codesourcery.com>
+
+       * doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this
+       macro results in memory allocation.
+
 2004-03-02  David O'Brien  <obrien@FreeBSD.org>
 
        * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add.
index d1afe655c7612250232dd08c34dade5595451d94..8cd059e3e5c3043853f0731fd48d7dc65e0f5cd5 100644 (file)
@@ -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.