Re: [PATCH] x86: Also check if -fcf-protection works

2020-05-15 Thread Richard Biener
On May 15, 2020 3:16:38 PM GMT+02:00, "H.J. Lu" wrote: >When defaulting CET run-time support to auto, check if -fcf-protection >works. Even if the stage1 GCC doesn't support -fcf-protection, since >the final GCC does, CET run-time support will be enabled by default if >binutils support CET. OK.

[PATCH] x86: Also check if -fcf-protection works

2020-05-15 Thread H.J. Lu via Gcc-patches
When defaulting CET run-time support to auto, check if -fcf-protection works. Even if the stage1 GCC doesn't support -fcf-protection, since the final GCC does, CET run-time support will be enabled by default if binutils support CET. config/ PR bootstrap/95147 * cet.m4 (GCC_CET_FL