summaryrefslogtreecommitdiff
path: root/eval_intern.h
diff options
context:
space:
mode:
authorBenoit Daloze <[email protected]>2021-04-29 14:31:05 +0200
committerBenoit Daloze <[email protected]>2021-05-04 14:56:55 +0200
commit68d6bd0873557c12bec6f8e0f8db622f1499d8a7 ()
treedd50dae6ebbf714d19e3db7272f0d9b6af86223e /eval_intern.h
parent229cbeba8c928dc6ee5eb21951e00c43a6e5225c (diff)
Fix trivial -Wundef warnings
* See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <[email protected]>
Notes: Merged: https://.com/ruby/ruby/pull/4428
-rw-r--r--eval_intern.h2
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ LONG WINAPI rb_w32_stack_overflow_handler(struct _EXCEPTION_POINTERS *);
#define EC_REPUSH_TAG() (void)(_ec->tag = &_tag)
-#if defined __GNUC__ && __GNUC__ == 4 && (__GNUC_MINOR__ >= 6 && __GNUC_MINOR__ <= 8) || __clang__
/* This macro prevents GCC 4.6--4.8 from emitting maybe-uninitialized warnings.
* This macro also prevents Clang from dumping core in EC_EXEC_TAG().
* (I confirmed Clang 4.0.1 and 5.0.0.)