public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: x86: generate template sets data at build time
@ 2022-12-14  5:14 Alan Modra
  2022-12-14  7:40 ` Jan Beulich
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Modra @ 2022-12-14  5:14 UTC (permalink / raw)
  To: Jan Beulich; +Cc: binutils

> +    /* Type checks to compensate for the conversion through void * which
> +       occurs during hash table insertion / lookup.  */
> +    (void)(sets == &current_templates->start);
> +    (void)(end == &current_templates->end);

This results in asan complaining about "member access within null
pointer of type 'const templates'".

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-14  8:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14  5:14 x86: generate template sets data at build time Alan Modra
2022-12-14  7:40 ` Jan Beulich
2022-12-14  8:19   ` Alan Modra
2022-12-14  8:25     ` Jan Beulich
2022-12-14  8:27     ` Alan Modra
2022-12-14  8:57   ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).