This is the mail archive of the gcc@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: Getting variable attribute from rtx


Dobes <bdobry@udel.edu> writes:

> Could you clarify a little about how/where to use lookup_attribute?

Use it wherever it is you need to know whether a symbol has your
attribute (I don't know when you need the information).  In RTL you can
normally find the VAR_DECL using MEM_EXPR or REG_EXPR.

Ian


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