[Bug target/96536] -fcf-protection code in i386.md:restore_stack_nonlocal uses invalid compare-and-jump rtl
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 18 15:36:39 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96536
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Uros Bizjak <uros@gcc.gnu.org>:
https://gcc.gnu.org/g:6342cee8801f191466b71116d004e8ccb812caaa
commit r10-8638-g6342cee8801f191466b71116d004e8ccb812caaa
Author: Uros Bizjak <ubizjak@gmail.com>
Date: Tue Aug 18 17:34:37 2020 +0200
i386: Fix restore_stack_nonlocal expander [PR96536].
-fcf-protection code in restore_stack_nonlocal uses a branch based on
a clobber result. The patch adds missing compare.
2020-08-18 Uroš Bizjak <ubizjak@gmail.com>
gcc/ChangeLog:
PR target/96536
* config/i386/i386.md (restore_stack_nonlocal):
Add missing compare RTX.
More information about the Gcc-bugs
mailing list