Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Issue 7931006: Prevent clang from optimizing away 2 variables. (Closed)

Created:
9 years, 3 months ago by Nico
Modified:
9 years, 3 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Prevent clang from optimizing away 2 variables. Hopefully fixes Memcheck sanity tests 12 and 13. BUG=96945 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101698

Patch Set 1 #

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M base/tools_sanity_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Nico
9 years, 3 months ago (2011-09-17 05:24:51 UTC) #1
Timur Iskhodzhanov
Can you please add a comment describing why one shouldn't omit volatile? Then LGTM 17.09.2011 ...
9 years, 3 months ago (2011-09-18 08:38:34 UTC) #2
commit-bot: I haz the power
9 years, 3 months ago (2011-09-18 16:27:56 UTC) #3
Presubmit check for 7931006-4001 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit ERRORS **
Missing LGTM from an OWNER for: base/tools_sanity_unittest.cc

Powered by Google App Engine
This is Rietveld 408576698