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: [trunk][patch] Call assemble_external for external functions.


On Mon, 28 Jul 2008, Rafael Espindola wrote:

> > It might be a good idea to add another test testing for hidden references
> > to variables, although it appears that only the case of functions not that
> > of variables has been broken.  I guess there are at least four cases to
> > test: taking the address of a function, calling a function, taking the
> > address of a variable, and actually accessing the variable; the addresses
> > may be taken in static initializers or in code, which makes six cases.
> 
> The attached patch adds the tests. I think it covers all the cases, no?

Yes, it covers all the cases I was thinking of.

-- 
Joseph S. Myers
joseph@codesourcery.com


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