As Alan points out, ASAN takes issue with these constructs, for
current_templates being NULL. Wrap them in sizeof(), so the expressions
aren't actually evaluated.
/* Type checks to compensate for the conversion through void * which
occurs during hash table insertion / lookup. */
- (void)(sets == ¤t_templates->start);
- (void)(end == ¤t_templates->end);
+ (void) sizeof (sets == ¤t_templates->start);
+ (void) sizeof (end == ¤t_templates->end);
for (; sets < end; ++sets)
if (str_hash_insert (op_hash, (*sets)->name, sets, 0))
as_fatal (_("duplicate %s"), (*sets)->name);