Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common disable...
details: https://anonhg.NetBSD.org/src/rev/8fbe875f0a29
branches: trunk
changeset: 362908:8fbe875f0a29
user: christos <christos%NetBSD.org@localhost>
date: Sun Jul 01 14:20:23 2018 +0000
description:
disable one more size check for _LP32 to make pcc build.
diffstat:
external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_allocator.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 0a8022527e23 -r 8fbe875f0a29 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_allocator.h
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_allocator.h Sun Jul 01 10:46:02 2018 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_allocator.h Sun Jul 01 14:20:23 2018 +0000
@@ -497,7 +497,9 @@
uptr mapped_meta; // Bytes mapped for metadata.
uptr n_allocated, n_freed; // Just stats.
};
+#if _LP64
COMPILER_CHECK(sizeof(RegionInfo) >= kCacheLineSize);
+#endif
RegionInfo *GetRegionInfo(uptr class_id) {
CHECK_LT(class_id, kNumClasses);
Home |
Main Index |
Thread Index |
Old Index