+2017-03-20 Marek Polacek <polacek@redhat.com>
+
+ PR sanitizer/80063
+ * asan.c (DEF_SANITIZER_BUILTIN): Use do { } while (0).
+
2017-03-20 Richard Biener <rguenther@suse.de>
PR tree-optimization/80113
#define DEF_BUILTIN_STUB(ENUM, NAME)
#undef DEF_SANITIZER_BUILTIN
#define DEF_SANITIZER_BUILTIN(ENUM, NAME, TYPE, ATTRS) \
- decl = add_builtin_function ("__builtin_" NAME, TYPE, ENUM, \
- BUILT_IN_NORMAL, NAME, NULL_TREE); \
- set_call_expr_flags (decl, ATTRS); \
- set_builtin_decl (ENUM, decl, true);
+ do { \
+ decl = add_builtin_function ("__builtin_" NAME, TYPE, ENUM, \
+ BUILT_IN_NORMAL, NAME, NULL_TREE); \
+ set_call_expr_flags (decl, ATTRS); \
+ set_builtin_decl (ENUM, decl, true); \
+ } while (0);
#include "sanitizer.def"