On Oct 8, 2012, at 9:16 AM, Steve Ellcey <sell...@mips.com> wrote: > The gcc.target/mips/ext_ins.c was failing in little endian mode on MIPS > because > the compiler is smart enough now to see that 'c' is uninitialized and it can > insert the field 'a' into 'c' with a shift and a full store instead of an > insert because the store just overwrites unintialized data. I changed the > code to force the compiler to preserve the other fields of 'c' and that makes > it use the insert instruction in both big and little endian modes. > > Tested on mips-mti-elf. > > OK to checkin?
Ok.