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: output unreferenced static variable if an alias to it is referenced


On Thu, Oct 20, 2005 at 04:47:53AM -0200, Alexandre Oliva wrote:
> 	* cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Mark
> 	alias targets.
> 	* varasm.c (find_decl_and_mark_needed): After cgraph global info
> 	is ready, stop marking functions, but still mark variables.

Ok, except,

> 	* gcc.dg/attr-alias-3.c: New test.

Don't we have some test keyword that disables the test when 
(strong) aliases aren't available on the platform?  It seems
like there should be something here...


r~


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