On 04/04/2017 01:15 PM, Matthew Fortune wrote:
Jeff Law writes:
All the MIPS compilers will fail to build using the trunk due to a
couple minor uninitialized memory issues.
First in mips_multi_add we add an uninitialized mips_multi_member object
to the mips_multi_members vec. It's easy enough to just memset the new
member.
Second in mips_expand_vec_perm_const the tail of the orig_perm may be
uninitialized if the number of elements in the target object is smaller
than MAX_VECT_LEN. This is also trivial to fix by explicitly clearing
the tail of the array.
Tested by verifying the MIPS targets in config-list.mk will build using
a trunk compiler again.
Installed on the trunk.
Thanks Jeff, and apologies for missing the report.
No worries at all. I stumbled over it a month or so ago, put the hacks
in a local tree and largely forgot about them until someone else piped
in with the same failure.
jeff