> I need to add support for some custom attributes that I need to know during > operand matching. I have no problem adding the attributes, but I don't > know what to do so that I can access the information later. My function > that is called to handle the attribute looks like this: > > static tree > attr_myattr_handler(tree *node, tree name, tree args, int flags, > bool *no_add_attrs) { > /* What should I do here */ > }
See the SYMBOL_REF_FLAGS stuff in rtl.h and various examples in the back-ends. -- Eric Botcazou