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/305571d94b5f
branches:  trunk
changeset: 323797:305571d94b5f
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 36e9f979a3cc -r 305571d94b5f 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