[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:59:00 GMT 2017


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

--- Comment #12 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Sun Nov  5 09:58:27 2017
New Revision: 254425

URL: https://gcc.gnu.org/viewcvs?rev=254425&root=gcc&view=rev
Log:
Remove semicolon after do {} while (0) in DEF_SANITIZER_BUILTIN

2017-11-05  Tom de Vries  <tom@codesourcery.com>

        PR other/82784
        * asan.c (DEF_SANITIZER_BUILTIN_1): Factor out of ...
        (DEF_SANITIZER_BUILTIN): ... here.
        (initialize_sanitizer_builtins): Use DEF_SANITIZER_BUILTIN_1 instead of
        DEF_SANITIZER_BUILTIN in if stmt.  Add missing semicolon.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/asan.c


More information about the Gcc-bugs mailing list