From c22f909051a2d8471fd0426c90b54557e42852c9 Mon Sep 17 00:00:00 2001 From: aoliva Date: Mon, 28 Nov 2005 18:18:54 +0000 Subject: [PATCH] * varasm.c (ultimate_transparent_alias_target): Add comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107611 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/varasm.c | 8 ++++++++ 2 files changed, 12 insertions(+) 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) { -- 2.11.4.GIT