This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch preview] New target hooks


On 03-Aug-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.

That's not impossible; a function could have two entry points,
one for direct calls and one for indirect calls.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]