Dear Lua developers
The '__builtin_expect' fix in Lua 5.5.1 hasn't been backported to Lua 5.4.9 (rc1).
In Lua 5.5.1 'luaconf.h' at line 656
```
#if !defined(LUA_NOBUILTIN) && defined(__GNUC__) && (__GNUC__ >= 3)#define luai_likely(x) (__builtin_expect(((x) != 0), 1))
#define luai_unlikely(x) (__builtin_expect(((x) != 0), 0))
#else
#define luai_likely(x) (x)
#define luai_unlikely(x) (x)
#endif
#endif ```
In Lua 5.4.9 (rc1) 'luaconf.h' at line 683
```
#if defined(__GNUC__) && !defined(LUA_NOBUILTIN)#define luai_likely(x) (__builtin_expect(((x) != 0), 1))
#define luai_unlikely(x) (__builtin_expect(((x) != 0), 0))
#else
#define luai_likely(x) (x)
#define luai_unlikely(x) (x)
#endif
#endif ```
The luai_likely/luai_unlikely code from Lua 5.4.9 should be the same as the code from Lua 5.5.1 with the fix in which the GNU compiler version is too low.
Sincerely,
Richard Beckmann