diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2005-11-28 18:18:54 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2005-11-28 18:18:54 +0000 |
commit | 2979bcca5d3e5ceb954abf3333a7786fd2c0b5b0 (patch) | |
tree | 6c2ce4516dbe8dbf7110dfdad0f3c5c7ddc23527 | |
parent | 1ac221f2df51105f89f4b72a2ba0779609003760 (diff) | |
download | gcc-2979bcca5d3e5ceb954abf3333a7786fd2c0b5b0.zip gcc-2979bcca5d3e5ceb954abf3333a7786fd2c0b5b0.tar.gz gcc-2979bcca5d3e5ceb954abf3333a7786fd2c0b5b0.tar.bz2 |
* varasm.c (ultimate_transparent_alias_target): Add comment.
From-SVN: r107611
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/varasm.c | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cd58cf..789042d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-11-28 Alexandre Oliva <aoliva@redhat.com> + + * varasm.c (ultimate_transparent_alias_target): Add comment. + 2005-11-28 Kazu Hirata <kazu@codesourcery.com> * config/m68k/m68k.c (notice_update_cc): Use SET_DEST and 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) { |