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

Issue 8911001: Add -Wno-array-bounds to SConstruct for PNaCl GlibC build. (Closed)

Created:
9 years ago by pdox
Modified:
9 years ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Add -Wno-array-bounds to SConstruct for PNaCl GlibC build. GlibC's strpbrk is implemented by a macro which uses short-circuiting with the ternary operator to quickly evaluate the case for 0, 1, 2, or 3 length strings. For some reason, this construction triggers Clang's array-bounds detection. I've filed an LLVM bug for this: http://llvm.org/bugs/show_bug.cgi?id=11536 TBR= jvoung BUG= http://llvm.org/bugs/show_bug.cgi?id=11536 TEST= PNaCl GLibC bot Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=7408

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M SConstruct View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
pdox
9 years ago (2011-12-11 03:20:50 UTC) #1
jvoung - send to chromium...
9 years ago (2011-12-12 18:16:07 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698