This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

aarch64 simd index out of range message not correct on 32 bit host


Hi,

I notice that aarch64 simd index range message not correct on 32 bit host.

The message print by the function aarch64_simd_lane_bounds in aarch64.c.

The function print HOST_WIDE_INT variable by %ld which is correct on
64 bit host.

However, on 32 bit host HOST_WIDE_INT would be long long.

Therefore, print out incorrect message on 32 bit host.

Fix the message by printing HOST_WIDE_INT variables on 32 bit host by %lld.


Shiva

Attachment: Fix_aarch64_simd_index_out_of_range_message_on_32_bit_host.diff
Description: Text document

Attachment: ChangeLog.fix_simd_index_message
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]