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 #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

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