diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-11-17 11:41:12 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-11-17 13:29:01 -0800 |
commit | 8e410de43ce039bbe08f1e0195e3b6ec24f68cae (patch) | |
tree | 02c7632c81adfbb02f39b6ed74c928f892922223 /libcpp/lex.c | |
parent | 425369bf3068a9f840d1c2f04a4d4c38e924d4dc (diff) | |
download | gcc-8e410de43ce039bbe08f1e0195e3b6ec24f68cae.zip gcc-8e410de43ce039bbe08f1e0195e3b6ec24f68cae.tar.gz gcc-8e410de43ce039bbe08f1e0195e3b6ec24f68cae.tar.bz2 |
x86: Remove "%!" before ret
Before MPX was removed, "%!" was mapped to
case '!':
if (ix86_bnd_prefixed_insn_p (current_output_insn))
fputs ("bnd ", file);
return;
After CET was added and MPX was removed, "%!" was mapped to
case '!':
if (ix86_notrack_prefixed_insn_p (current_output_insn))
fputs ("notrack ", file);
return;
ix86_notrack_prefixed_insn_p always returns false on ret since the
notrack prefix is only for indirect branches. Remove the unused "%!"
before ret.
PR target/103307
* config/i386/i386.c (ix86_code_end): Remove "%!" before ret.
(ix86_output_function_return): Likewise.
* config/i386/i386.md (simple_return_pop_internal): Likewise.
Diffstat (limited to 'libcpp/lex.c')
0 files changed, 0 insertions, 0 deletions