On 18/01/13 10:25, Tejas Belagod wrote:

Hi,

The attached patch fixes one of arm_neon.h's issues with C++. All scalar types
<type>x1_t are mapped to internal __builtin_aarch64_simd_<type> types. This
creates duplicate function name symbols when one attempts overloading a standard
type and one of these builtin types that are of the same size. For example,
int8x1_t when overloaded with signed char creates a duplicate function name
symbol. This patch increases the strictness and maps scalar types <type>x1_t to
standard types. This means overloading is not possible, but that will not make a
difference as we can now define it this way and needless to say it was broken
till now anyway.

Tested for aarch64-none-elf. OK for trunk and aarch64-4.7-branch?

Thanks,
Tejas Belagod
ARM.

Changelog:

2013-01-18  Tejas Belagod  <tejas.bela...@arm.com>

gcc/
        * config/aarch64/arm_neon.h: Map scalar types to standard types.


OK

Reply via email to