2017-11-05 Tom de Vries <tom@codesourcery.com>
PR other/82784
* asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
"do {} while (0)".
* lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
From-SVN: r254419
+2017-11-05 Tom de Vries <tom@codesourcery.com>
+
+ PR other/82784
+ * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon after
+ "do {} while (0)".
+ * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same.
+
2017-10-20 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/82595
uptr __bad = __asan_region_is_poisoned(__p, __size); \
__asan_report_error(pc, bp, sp, __bad, isWrite, __size, 0);\
} \
- } while (false); \
+ } while (false)
extern "C" SANITIZER_INTERFACE_ATTRIBUTE
#define LOG_POINTERS(...) \
do { \
if (flags()->log_pointers) Report(__VA_ARGS__); \
- } while (0);
+ } while (0)
#define LOG_THREADS(...) \
do { \
if (flags()->log_threads) Report(__VA_ARGS__); \
- } while (0);
+ } while (0)
ALIGNED(64) static char suppression_placeholder[sizeof(SuppressionContext)];
static SuppressionContext *suppression_ctx = nullptr;