On 11/25/2015 01:35 PM, Richard Sandiford wrote:
The define_subst support made it syntactically possible to add attributes to a define_expand, but until now they had been ignored by genattrtab.c. This patch allows define_expands to have "code,alternative" attributes but raises an error for general "insn" attributes.
This seems a little strange because define_expands don't really have alternatives. Also, using a string like that rather than some kind of identifier or a define_icode_attr maybe isn't the best approach?
Bernd