From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24084 invoked by alias); 31 Jan 2013 16:57:43 -0000 Received: (qmail 23395 invoked by uid 55); 31 Jan 2013 16:57:17 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/55561] TSAN: Fortran/OMP yields false positives Date: Thu, 31 Jan 2013 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg02904.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561 --- Comment #38 from Jakub Jelinek 2013-01-31 16:57:15 UTC --- Author: jakub Date: Thu Jan 31 16:57:09 2013 New Revision: 195618 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195618 Log: PR libgomp/55561 * config/linux/wait.h (do_spin): Use atomic load for addr. * config/linux/ptrlock.c (gomp_ptrlock_get_slow): Use atomic for intptr and ptrlock. * config/linux/ptrlock.h (gomp_ptrlock_get): Use atomic load for ptrlock. Modified: trunk/libgomp/ChangeLog trunk/libgomp/config/linux/ptrlock.c trunk/libgomp/config/linux/ptrlock.h trunk/libgomp/config/linux/wait.h