Return-Path: X-Original-To: apmail-stdcxx-commits-archive@www.apache.org Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3425D9CF for ; Mon, 24 Sep 2012 12:39:08 +0000 (UTC) Received: (qmail 7342 invoked by uid 500); 24 Sep 2012 12:39:08 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 6996 invoked by uid 500); 24 Sep 2012 12:39:05 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 6967 invoked by uid 99); 24 Sep 2012 12:39:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 12:39:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 12:39:01 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0826323888E3 for ; Mon, 24 Sep 2012 12:38:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1389337 - /stdcxx/branches/4.2.x/tests/support/atomic_xchg.cpp Date: Mon, 24 Sep 2012 12:38:17 -0000 To: commits@stdcxx.apache.org From: lnicoara@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120924123818.0826323888E3@eris.apache.org> Author: lnicoara Date: Mon Sep 24 12:38:17 2012 New Revision: 1389337 URL: http://svn.apache.org/viewvc?rev=1389337&view=rev Log: 2012-09-24 Liviu Nicoara * tests/support/atomic_xchg.cpp: (run_test) moved counter volatile qualification to match STDCXX conventions (see r1388733) Modified: stdcxx/branches/4.2.x/tests/support/atomic_xchg.cpp Modified: stdcxx/branches/4.2.x/tests/support/atomic_xchg.cpp URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/support/atomic_xchg.cpp?rev=1389337&r1=1389336&r2=1389337&view=diff ============================================================================== --- stdcxx/branches/4.2.x/tests/support/atomic_xchg.cpp (original) +++ stdcxx/branches/4.2.x/tests/support/atomic_xchg.cpp Mon Sep 24 12:38:17 2012 @@ -297,7 +297,7 @@ void run_test (intT, thr_args_base::tag_ // compute the expected result, "skipping" zeros by incrementing // expect twice when it overflows and wraps around to 0 (zero is // used as the lock variable in thread_routine() above) - intT volatile expect = intT (1); + volatile intT expect = intT (1); const unsigned long nincr = (Args::nthreads_ * Args::nincr_) / 2U;