From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 19867398640B; Fri, 11 Sep 2020 10:21:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 19867398640B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599819678; bh=Ie3y4u46sB0vxxAtFxGFCyIcAsVQe7G7ac4cqTVoNnA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UGZS1HIxEqliraTaR2Gsy1KGE42sAs2r73CeX7RyXiRRhbY7zvo5SZXmEMRoo9Y22 mGSn0mMTJ4Wmd/aV9pVUGwjeH54ekJ5wK+GlhmAP99DCY6yUtaIV5UYiF7hI9ybAnQ DymcoOkSil7TeYTYR1R7zAoxdqO6XkIxgmIh4bck= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/95604] LTO doesn't pick up -fcf-protection flag for the link step Date: Fri, 11 Sep 2020 10:21:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 10:21:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95604 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Matthias Klose : https://gcc.gnu.org/g:5c7cf559e6a51ebb41631bfc8396d6ab9f992499 commit r10-8742-g5c7cf559e6a51ebb41631bfc8396d6ab9f992499 Author: Matthias Klose Date: Fri Sep 11 12:21:06 2020 +0200 LTO: pick up -fcf-protection flag for the link step 2020-07-14 Matthias Klose 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. (cherry picked from commit 6a48d12475cdb7375b98277f8bc089715feeeafe)=