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: eliminating debug info for symbols/types in unexpanded inlines


> 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


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