This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]