tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gcc and double_u
The following appeared in gcc head:
commit 3a873c0a7bc8183de95a6103b507101a25eed413
Author: liuhongt <hongtao.liu%intel.com@localhost>
Date: Thu May 30 14:15:48 2024 +0800
Rename double_u with __double_u to avoid pulluting the namespace.
gcc/ChangeLog:
* config/i386/emmintrin.h (__double_u): Rename from double_u.
(_mm_load_sd): Replace double_u with __double_u.
(_mm_store_sd): Ditto.
(_mm_loadh_pd): Ditto.
(_mm_loadl_pd): Ditto.
* config/i386/xmmintrin.h (__float_u): Rename from float_u.
(_mm_load_ss): Ditto.
(_mm_store_ss): Ditto.
This pollution avoidance achieves a direct hit with our /usr/include/math.h:
union __double_u {
unsigned char __dummy[sizeof(double)];
double __val;
};
What should we do?
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index