aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2005-11-28 18:18:54 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2005-11-28 18:18:54 +0000
commit2979bcca5d3e5ceb954abf3333a7786fd2c0b5b0 (patch)
tree6c2ce4516dbe8dbf7110dfdad0f3c5c7ddc23527 /gcc/varasm.c
parent1ac221f2df51105f89f4b72a2ba0779609003760 (diff)
downloadgcc-2979bcca5d3e5ceb954abf3333a7786fd2c0b5b0.zip
gcc-2979bcca5d3e5ceb954abf3333a7786fd2c0b5b0.tar.gz
gcc-2979bcca5d3e5ceb954abf3333a7786fd2c0b5b0.tar.bz2
* varasm.c (ultimate_transparent_alias_target): Add comment.
From-SVN: r107611
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 68a46ea..fa181e1 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)
{