[Bug target/87412] -fcf-protection and -mindirect-branch=thunk are incompatible on x86_64

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 24 14:38:00 GMT 2018


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-09-24
                 CC|                            |hjl.tools at gmail dot com
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Florian Weimer from comment #0)
> 
> Suggested fix is to error out when both options are specified at the same
> time.

Yes, -fcf-protection and -mindirect-branch=thunk should be disallowed
when used together.


More information about the Gcc-bugs mailing list