This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Alias sets
>>>>> "Richard" == Richard Henderson <rth@cygnus.com> writes:
Richard> I don't think it's that unreasonable to ask for a
Richard> function that just returns zero. We already have a
Richard> half-dozen other functions that absolutely must exist,
Richard> even if empty...
I agree. But, one issue here is that (as in the C/C++ case), you
might well want to have a function used by a simpler language (C),
that is piggy-backed on by a more complex language (C++). With
function pointers, its easy to chain these things together; if they're
all functions called lang_get_alias_set it's not so easy.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com