From: Alexandre Oliva Date: Mon, 28 Nov 2005 18:18:54 +0000 (+0000) Subject: * varasm.c (ultimate_transparent_alias_target): Add comment. X-Git-Tag: releases/gcc-4.2.0~5701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2979bcca5d3e5ceb954abf3333a7786fd2c0b5b0;p=thirdparty%2Fgcc.git * varasm.c (ultimate_transparent_alias_target): Add comment. From-SVN: r107611 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cd58cfe2993..789042d00779 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 68a46eab5e29..fa181e17f1ec 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) {