Re: [RFA, C++] Symbol table 12/many: Remove cxx_analyze_expr hook

2012-04-21 Thread Jan Hubicka
Jason, thank you. My goal is to get rid of places where C++ FE is forcing symbols to be output unconditoinally. I think the remaining cases are those where mark_decl_referenced is called. My understnading is that those are 1) COMDAT symbols that must be output because they are keyed, but for we

Re: [RFA, C++] Symbol table 12/many: Remove cxx_analyze_expr hook

2012-04-21 Thread Jason Merrill
OK. Jason

[RFA, C++] Symbol table 12/many: Remove cxx_analyze_expr hook

2012-04-20 Thread Jan Hubicka
Hi, cxx_callgraph_analyze_expr contains logic that should be obsolette now. PTRMEM_CST/BASELINK should be obsoletted by gimplification and VAR_DECL handling seems weird from very start and I think it is remainder from time we was not outputting function local vars from varpool but they needed a fun