This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch preview] New target hooks
On Aug 3, 2003, Richard Henderson <rth@redhat.com> wrote:
> On Sat, Aug 02, 2003 at 09:39:14AM -0300, Alexandre Oliva wrote:
>> What if I want to look at an attribute of the function, not of its type?
> If you can't get the ABI of a function from its type, then
> taking the address of the function changes its ABI.
Consider calls to libgcc internal functions. We never take their
addresses, and they sometimes have different ABIs that are detected by
looking at the decl, not at the type.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer