eliminating debug info for symbols/types in unexpanded inlines

Eric Botcazou ebotcazou@adacore.com
Thu May 7 05:18:00 GMT 2009


> The problem here is that we emit debug info if TREE_USED is set, but
> TREE_USED is set at parse time, before we have identified unused inline
> functions.  I have a simple patch to fix this that adds a
> TREE_USED_EXPAND bit that is set at RTL generation time.

Can't you use TREE_ASM_WRITTEN for this purpose?

-- 
Eric Botcazou



More information about the Gcc-patches mailing list