Re: FIX PR51926, libstdc++ iterator store bigendian bitfield related

2012-01-23 Thread Alan Modra
On Sat, Jan 21, 2012 at 11:07:10AM +1030, Alan Modra wrote: PR middle-end/51926 * expmed.c (store_bit_field_1): Properly handle last word of BLKmode value when bigendian. Blah, I was working on an old tree. The bug is already fixed. -- Alan Modra Australia Development Lab,

FIX PR51926, libstdc++ iterator store bigendian bitfield related

2012-01-20 Thread Alan Modra
This patch fixes a wrong-code bug in store_bit_field. When storing a multi-word BLKmode value (such as from a RECORD_TYPE), the last word is trashed on big-endian targets. See the PR for the gory details. Bootstrapped and regression tested powerpc64-linux. Fixes 74 testsuite failures. OK for