From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 54436385783F; Thu, 18 Jan 2024 07:45:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54436385783F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705563946; bh=6J6a19+31tJ6wAZisT42e4cL6N28d16MHBfO4P6dK4Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=asDEB4u1bgtDa856Ap5V/1qkF301YAWzHXRF9nSrZRhc6D39Qtw1cJBc99QMPO2qE Q19NkMEOg6JhvxiqFsOPrjKNNKGBxg+W3h8vzTl7bdoTU5TkbRPZYhwxBTiHm93anB xvD0F5pa7Phz7WnRhWEV2JC5/6nBdVkD7nRAw+t8= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/113399] [14 Regression] -ffold-mem-offsets should not be a target option Date: Thu, 18 Jan 2024 07:45:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113399 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1203fc2e6a40c65896763554f62cacfb4bd6a836 commit r14-8208-g1203fc2e6a40c65896763554f62cacfb4bd6a836 Author: Jakub Jelinek Date: Thu Jan 18 08:45:09 2024 +0100 opts: Fix up -ffold-mem-offsets option keywords While the option was originally meant to be a Target option for a single target, it is an option for all targets, so should be Common rather than Target, and because it is an optimization option which could be differe= nt in between different LTO TUs, I've added Optimization keyword too. From what I can see, Bool is a non-documented non-existing keyword (at least, grep Bool *.awk shows nothing, so I've dropped that too. Seems that the option parsing simply parses and ignores any non-existing keywords. Guess we should drop the Bool keywords from the gcc/config/riscv/riscv.= opt file eventually, so that people don't copy this around. 2024-01-18 Jakub Jelinek PR other/113399 * common.opt (ffold-mem-offsets): Remove Target and Bool keywor= ds, add Common and Optimization.=