Revert "win32: define HAS_BUILTIN_EXPECT on MinGW"
authorDavid Mitchell <davem@iabyn.com>
Wed, 24 Apr 2019 11:22:35 +0000 (12:22 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 24 Apr 2019 11:22:35 +0000 (12:22 +0100)
This reverts commit 69aa5ebd1f8de0b4ea51faeba005dbcb734e0bef.

RT #13360

This patch was tickling a bug in the compiler on that platform, the
details of which have not yet been diagnosed. Since the original commit
was just a minor optimisation, its been agreed to revert for now.

win32/config.gc
win32/config_H.gc

index 5928d8b..ce9a6b9 100644 (file)
@@ -117,7 +117,7 @@ d_bsdgetpgrp='undef'
 d_bsdsetpgrp='undef'
 d_builtin_add_overflow='undef'
 d_builtin_choose_expr='undef'
-d_builtin_expect='define'
+d_builtin_expect='undef'
 d_builtin_mul_overflow='undef'
 d_builtin_sub_overflow='undef'
 d_c99_variadic_macros='undef'
index 012580f..5a255b4 100644 (file)
  *     Can we handle GCC builtin for telling that certain values are more
  *     likely
  */
-#define HAS_BUILTIN_EXPECT     /**/
+/*#define HAS_BUILTIN_EXPECT   / **/
 /*#define HAS_BUILTIN_CHOOSE_EXPR      / **/
 
 /* HAS_C99_VARIADIC_MACROS: