Work around GCC bug in constexpr to attributes
__attribute__((aligned(MaxCacheLineSize))) triggers a GCC bug because enum {MaxCacheLineSize = 64 }; isn't constant enough. Adding zero to it makes it that much more constant.
R= stichnot@chromium.org
BUG= https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55382
Review URL: https://codereview.chromium.org/867483004
Showing
Please
register
or
sign in
to comment