Skip to content

Commit 82b5e46

Browse files
committed
cold only works on labels with gcc
1 parent 496fdb5 commit 82b5e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_portability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ char *alloca();
329329
# define ZEND_OPT_SPEED
330330
#endif
331331

332-
#if (defined(__GNUC__) && ZEND_GCC_VERSION >= 5000) || (__has_attribute(unused) && __has_attribute(cold))
332+
#if (defined(__GNUC__) && ZEND_GCC_VERSION >= 5000)
333333
# define ZEND_ATTRIBUTE_UNUSED_LABEL __attribute__((unused));
334334
# define ZEND_ATTRIBUTE_COLD_LABEL __attribute__((cold));
335335
#else

0 commit comments

Comments
 (0)