View | Details | Raw Unified | Return to bug 36551
Collapse All | Expand All

(-)a/gnulib/lib/intprops.h (-1 / +1 lines)
Lines 221-227 Link Here
221
   : (max) >> (b) < (a))
221
   : (max) >> (b) < (a))
222
222
223
/* True if __builtin_add_overflow (A, B, P) works when P is non-null.  */
223
/* True if __builtin_add_overflow (A, B, P) works when P is non-null.  */
224
#if 5 <= __GNUC__ && !defined __ICC
224
#if 5 <= __GNUC__ && !defined __ICC && !(defined __LCC__ && __LCC__ <= 123)
225
# define _GL_HAS_BUILTIN_OVERFLOW 1
225
# define _GL_HAS_BUILTIN_OVERFLOW 1
226
#else
226
#else
227
# define _GL_HAS_BUILTIN_OVERFLOW 0
227
# define _GL_HAS_BUILTIN_OVERFLOW 0
(-)a/gnulib/lib/xalloc-oversized.h (-2 / +2 lines)
Lines 44-50 typedef size_t __xalloc_count_type; Link Here
44
#if 7 <= __GNUC__
44
#if 7 <= __GNUC__
45
# define xalloc_oversized(n, s) \
45
# define xalloc_oversized(n, s) \
46
   __builtin_mul_overflow_p (n, s, (__xalloc_count_type) 1)
46
   __builtin_mul_overflow_p (n, s, (__xalloc_count_type) 1)
47
#elif 5 <= __GNUC__ && !defined __ICC && !__STRICT_ANSI__
47
#elif 5 <= __GNUC__ && !defined __ICC && \
48
	   !(defined __LCC__ && __LCC__ <= 123) && !__STRICT_ANSI__
48
# define xalloc_oversized(n, s) \
49
# define xalloc_oversized(n, s) \
49
   (__builtin_constant_p (n) && __builtin_constant_p (s) \
50
   (__builtin_constant_p (n) && __builtin_constant_p (s) \
50
    ? __xalloc_oversized (n, s) \
51
    ? __xalloc_oversized (n, s) \
51
- 

Return to bug 36551