]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-i386.c
x86: i386_cons_align() badly affects diagnostics
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Dec 2023 07:28:45 +0000 (08:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Dec 2023 07:28:45 +0000 (08:28 +0100)
commitce69d08114bbd64ba0bec60ba1e51438abbd45d6
treef55ee4615fa491c3619be0ea973edeb79605e450
parent54fc4573887bfba8bd2ac0cb2eb9259e94ba178d
x86: i386_cons_align() badly affects diagnostics

Warning without knowing what's going to follow isn't useful, the more
that appropriate warnings are emitted elsewhere in all cases. Not
updating state (file/line in particular) also isn't helpful, as it's
always the last directive ahead of a construct potentially needing
fiddling with that's "guilty" in that fiddling being suppressed.
gas/config/tc-i386.c
gas/testsuite/gas/i386/lfence-byte.e
gas/testsuite/gas/i386/x86-64-lfence-byte.e