mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
longlong.h: Disable alpha umul_ppmm for old g++
Causes "unexpected AST of kind MULT_HIGHPART" error with bootstrap from gcc 4.8.
This commit is contained in:
committed by
Mike Frysinger
parent
1f89b8d881
commit
7f49b7c020
@ -139,6 +139,9 @@ extern const UQItype __clz_tab[256] attribute_hidden;
|
||||
#endif /* __aarch64__ */
|
||||
|
||||
#if defined (__alpha) && W_TYPE_SIZE == 64
|
||||
/* There is a bug in g++ before version 5 that
|
||||
errors on __builtin_alpha_umulh. */
|
||||
#if !defined(__cplusplus) || __GNUC__ >= 5
|
||||
#define umul_ppmm(ph, pl, m0, m1) \
|
||||
do { \
|
||||
UDItype __m0 = (m0), __m1 = (m1); \
|
||||
@ -146,6 +149,7 @@ extern const UQItype __clz_tab[256] attribute_hidden;
|
||||
(pl) = __m0 * __m1; \
|
||||
} while (0)
|
||||
#define UMUL_TIME 46
|
||||
#endif /* !c++ */
|
||||
#ifndef LONGLONG_STANDALONE
|
||||
#define udiv_qrnnd(q, r, n1, n0, d) \
|
||||
do { UDItype __r; \
|
||||
|
Reference in New Issue
Block a user