This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/82784] Remove semicolon after "do {} while (0)" macros
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 05 Nov 2017 09:58:58 +0000
- Subject: [Bug other/82784] Remove semicolon after "do {} while (0)" macros
- Auto-submitted: auto-generated
- References: <bug-82784-4@http.gcc.gnu.org/bugzilla/>
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