x86: adjust type checking constructs
authorJan Beulich <jbeulich@suse.com>
Wed, 14 Dec 2022 09:07:44 +0000 (10:07 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 Dec 2022 09:07:44 +0000 (10:07 +0100)
commiteb99386180bb187f3ef3a59b222f16c8dfe3b81e
treeb51fdaa9f629a46f4bf112a7df4dc41b42caa3f3
parent8ad93045edcff5128fccc8bff23848f2cfae6453
x86: adjust type checking constructs

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.
gas/config/tc-i386.c