Fix notice_global_symbol

Jan Hubicka jh@suse.cz
Sat Oct 11 10:23:00 GMT 2003


> On Fri, Oct 10, 2003 at 11:25:34PM +0200, Jan Hubicka wrote:
> > 	* varasm.c (notice_global_symbol):  Fix handling of variables; avoid
> > 	re-computing of variable.
> 
> This looks ok.  I think it could stand to be cleaned up a bit more
> to use targetm.binds_local_p.

OK, I will apply the patch as it is (it has been rather dificult to get
it into shape it is right now) and will try to make another one using
binds_local_p that passes Richard's testsuite (his application is
directly accessing _GLOBAL_* symbols produced by GCC that is not very
portable but good testing on where we changed mind for no good reason)

Thanks,
Honza
> 
> 
> r~



More information about the Gcc-patches mailing list