https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95604
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Matthias Klose <[email protected]>: https://gcc.gnu.org/g:6a48d12475cdb7375b98277f8bc089715feeeafe commit r11-2076-g6a48d12475cdb7375b98277f8bc089715feeeafe Author: Matthias Klose <[email protected]> Date: Tue Jul 14 10:12:08 2020 +0200 LTO: pick up -fcf-protection flag for the link step 2020-07-14 Matthias Klose <[email protected]> PR lto/95604 * lto-wrapper.c (merge_and_complain): Add decoded options as parameter, error on different values for -fcf-protection. (append_compiler_options): Pass -fcf-protection option. (find_and_merge_options): Add decoded options as parameter, pass decoded_options to merge_and_complain. (run_gcc): Pass decoded options to find_and_merge_options. * lto-opts.c (lto_write_options): Pass -fcf-protection option.
