public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-6110] Darwin: Check for that flag-reorder-and-partition. Date: Fri, 24 Dec 2021 10:45:19 +0000 (GMT) [thread overview] Message-ID: <20211224104519.A95C13858D28@sourceware.org> (raw) https://gcc.gnu.org/g:8381075ff3f5f5aefcd7027d7c5136a0e61e654a commit r12-6110-g8381075ff3f5f5aefcd7027d7c5136a0e61e654a Author: Iain Sandoe <iain@sandoe.co.uk> Date: Fri Dec 10 23:55:49 2021 +0000 Darwin: Check for that flag-reorder-and-partition. We were checking whether the flag had been set by the user, but not if it was set to true. Which means that the check fails in its intent when the user puts -fno-reorder-and-partition. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> gcc/ChangeLog: * config/darwin.c (darwin_override_options): When checking for the flag-reorder-and-partition case, also check that it is set on. Diff: --- gcc/config/darwin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 8ad5b26c980..e580319f761 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -3336,6 +3336,7 @@ darwin_override_options (void) (s)he knows why... */ if (generating_for_darwin_version < 9 && OPTION_SET_P (flag_reorder_blocks_and_partition) + && flag_reorder_blocks_and_partition && ((global_options.x_flag_exceptions /* User, c++, java */ && !OPTION_SET_P (flag_exceptions)) /* User specified... */ || (global_options.x_flag_unwind_tables
reply other threads:[~2021-12-24 10:45 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211224104519.A95C13858D28@sourceware.org \ --to=iains@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).