On 05/07/2015 12:22 PM, Marek Polacek wrote:
- mark_used (decl); + mark_used (decl, 0);
This should use tf_none rather than 0.
+ build_enumerator (DECL_NAME (decl), value, newtag, + DECL_ATTRIBUTES (decl), DECL_SOURCE_LOCATION (decl));
This is assuming that enumerators can't have dependent attributes. I guess that's currently true, but please add a comment about it.
OK with those changes. Jason