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] Fix PR tree-optimization/47056


> > I didn't noticed it is with ia64 and function descriptors.  Here read from
> > function descriptor indeed makes more sense then read from random place in
> > text segment on other arches.  What exactly is the code sequence doing with
> > the descritor?
> 
> Copying it from a static to a dynamic vtable.
> 
> > We might add read edges for functions for this reason, but 
> > it seems to me that only reason to read function descriptor is to call it
> > indirectly later, so it is equivalent of taking address anyway?
> 
> Yes, exactly.

Agreed, adding address taken edge for dynamic vtable is the right thing...

Honza
> 
> -- 
> Eric Botcazou


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