[Bug target/104713] gcc does not reject -march=i686 -fcf-protection

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 28 11:02:30 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104713

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Just build for those as -march=i586. preventing -fcf-protection with
-march=i686 would be a really bad idea, that would basically prevent all of CET
protection for 32-bit code, i686 is what is used as the supported lowest common
denominator of 32-bit code.


More information about the Gcc-bugs mailing list