diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 84119ccf1d11..abfd05671d61 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2017-12-20 Kyrylo Tkachov + + * config/cpu/aarch64/opt/ext/opt_random.h (__VEXT): Check + __ARM_BIG_ENDIAN instead of __AARCH64EB__. + 2017-12-18 François Dumont PR libstdc++/80761 diff --git a/libstdc++-v3/config/cpu/aarch64/opt/ext/opt_random.h b/libstdc++-v3/config/cpu/aarch64/opt/ext/opt_random.h index 330050fc7f79..7c824809b780 100644 --- a/libstdc++-v3/config/cpu/aarch64/opt/ext/opt_random.h +++ b/libstdc++-v3/config/cpu/aarch64/opt/ext/opt_random.h @@ -34,7 +34,7 @@ #ifdef __ARM_NEON -#ifdef __AARCH64EB__ +#ifdef __ARM_BIG_ENDIAN # define __VEXT(_A,_B,_C) __builtin_shuffle (_A, _B, (__Uint8x16_t) \ {16-_C, 17-_C, 18-_C, 19-_C, 20-_C, 21-_C, 22-_C, 23-_C, \ 24-_C, 25-_C, 26-_C, 27-_C, 28-_C, 29-_C, 30-_C, 31-_C})