[trunk][patch] Call assemble_external for external functions.

Joseph S. Myers joseph@codesourcery.com
Mon Jul 28 19:09:00 GMT 2008


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



More information about the Gcc-patches mailing list