[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/30117] internal error in parse_register at tc-i386.c:13060
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/30117] internal error in parse_register at tc-i386.c:13060 |
Date: |
Thu, 16 Feb 2023 08:40:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30117
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Jan Beulich <jbeulich@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0ccade1ae2c00337d2b0bba2a175a060b93728a8
commit 0ccade1ae2c00337d2b0bba2a175a060b93728a8
Author: Jan Beulich <jbeulich@suse.com>
Date: Thu Feb 16 09:40:08 2023 +0100
x86/gas: replace inappropriate assertion when parsing registers
PR gas/30117
Once a symbol had its expression evaluated, the "segment" of the symbol
may be reg_section if a register is merely involved in the expression,
not just when the expression references a "plain" register. Therefore
the first of the assertions put in place by 4d1bb7955a8b was too strict.
Convert it to an if() to deal with situations like this one found by
fuzzing:
x=s
s=%eax+0
y=s
or $6,x
In non-debug builds this also avoids potentially silently generating bad
code.
--
You are receiving this mail because:
You are on the CC list for the bug.