[Bug other/82784] Remove semicolon after "do {} while (0)" macros

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 5 09:57:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784

--- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Sun Nov  5 09:57:17 2017
New Revision: 254419

URL: https://gcc.gnu.org/viewcvs?rev=254419&root=gcc&view=rev
Log:
[libsanitizer] Remove semicolon after do {} while (0) in macro body

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.

Modified:
    trunk/libsanitizer/ChangeLog
    trunk/libsanitizer/asan/asan_poisoning.cc
    trunk/libsanitizer/lsan/lsan_common.cc


More information about the Gcc-bugs mailing list