public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/109062] [13 regression] Default value of GOMP_SPINCOUNT changes since r13-2545 Date: Thu, 09 Mar 2023 01:01:43 +0000 [thread overview] Message-ID: <bug-109062-4-66IhiZo9hU@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-109062-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109062 --- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Hongyu Wang <hongyuw@gcc.gnu.org>: https://gcc.gnu.org/g:288bc7b5d17511d1791899e4b2e3bf3489eb06dd commit r13-6548-g288bc7b5d17511d1791899e4b2e3bf3489eb06dd Author: Hongyu Wang <hongyu.wang@intel.com> Date: Wed Mar 8 11:29:46 2023 +0800 libgomp: Fix default value of GOMP_SPINCOUNT [PR 109062] When OMP_WAIT_POLICY is not specified, current implementation will cause icv flag GOMP_ICV_WAIT_POLICY unset, so global variable wait_policy will remain its uninitialized value. Initialize it to -1 to make GOMP_SPINCOUNT behavior consistent with its description. libgomp/ChangeLog: PR libgomp/109062 * env.c (wait_policy): Initialize to -1. (initialize_icvs): Initialize icvs->wait_policy to -1. * testsuite/libgomp.c-c++-common/pr109062.c: New test.
next prev parent reply other threads:[~2023-03-09 1:01 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-08 3:23 [Bug libgomp/109062] New: " wwwhhhyyy333 at gmail dot com 2023-03-08 7:51 ` [Bug libgomp/109062] " rguenth at gcc dot gnu.org 2023-03-09 1:01 ` cvs-commit at gcc dot gnu.org [this message] 2023-03-09 1:07 ` wwwhhhyyy333 at gmail dot com
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=bug-109062-4-66IhiZo9hU@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).