On Mon, Jul 14, 2025 at 06:57:23PM +0300, Alexander Monakov via Gcc-help wrote: > Unfortunately, Clang and GCC implement different rules here, so perhaps > it would be best to avoid a dependency on that, if possible?.. LLVM claims to be 100% compatible to GCC (but better!), so they can deal with this. > For GCC, element type for the resulting vector is chosen in > c_common_type_for_size, which starts by picking a suitable type in sequence > int, signed char, short, long, long long. Hence, 'long' is never chosen on > ILP32 platforms, and 'long long' won't be picked on LP64. Implementation details :-) Does the manual say what type the result should be? Segher