aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2005-11-28 18:23:54 +0000
committerAlexandre Oliva <aoliva@redhat.com>2005-11-28 18:23:54 +0000
commit09968e1fa11f2b7d8c8d2fcc10f2acf4b1c4db3a (patch)
treed139f34dc1670aae0c548be9b9ec73658c700e90 /gcc/varasm.c
parentaa30983366e052144cf394d77ba4f086c0b6102a (diff)
* varasm.c (ultimate_transparent_alias_target): Add comment.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch@107612 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 68a46eab5e2..fa181e17f1e 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1996,6 +1996,14 @@ mark_decl_referenced (tree decl)
which do not need to be marked. */
}
+
+/* Follow the IDENTIFIER_TRANSPARENT_ALIAS chain starting at *ALIAS
+ until we find an identifier that is not itself a transparent alias.
+ Modify the alias passed to it by reference (and all aliases on the
+ way to the ultimate target), such that they do not have to be
+ followed again, and return the ultimate target of the alias
+ chain. */
+
static inline tree
ultimate_transparent_alias_target (tree *alias)
{