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/35a59c1369d6
branches:  trunk
changeset: 991182:35a59c1369d6
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 94924a534107 -r 35a59c1369d6 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