This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/83087] -fcf-protection -mcet enabled unconditionally for target libs
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Dec 2017 10:44:28 +0000
- Subject: [Bug target/83087] -fcf-protection -mcet enabled unconditionally for target libs
- Auto-submitted: auto-generated
- References: <bug-83087-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83087
--- Comment #15 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #14)
> (In reply to Markus Trippelsdorf from comment #13)
> > (In reply to Jakub Jelinek from comment #12)
> > > 1.4% increase is not negligible if it is forced on all users without easy
> > > option to disable it when they don't need/want it.
> >
> > To be fair, it can be easily disabled with --disable-cet.
> > The question is, if it should be enabled by default.
>
> We want to enable Intel CET by default in GCC and glibc, which can be
> disabled by --disable-cet.
Do you have any performance numbers? What is the impact of all these
NOPs on non CET CPUs?