[Bug sanitizer/88234] UBsan and runtime error: signed integer overflow using unsigned vector
vincent-gcc at vinc17 dot net
gcc-bugzilla@gcc.gnu.org
Wed Nov 28 08:04:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88234
Vincent Lefèvre <vincent-gcc at vinc17 dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vincent-gcc at vinc17 dot net
--- Comment #1 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
About
typedef __vector unsigned char uint8x16_p;
[...]
vec_vsx_st((uint8x16_p)c, 0, x);
isn't this an integer promotion issue, unsigned char being promoted to int,
thus being signed?
More information about the Gcc-bugs
mailing list