diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cd58cfe299..789042d0077 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-11-28 Alexandre Oliva + + * varasm.c (ultimate_transparent_alias_target): Add comment. + 2005-11-28 Kazu Hirata * config/m68k/m68k.c (notice_update_cc): Use SET_DEST and 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) {