On Mon, Mar 2, 2015 at 6:55 PM, Michael Meissner <meiss...@linux.vnet.ibm.com> wrote: > This patch fixes PR 65138, which shows up when you configure a compiler on a > 64-bit PowerPC little endian system without using the --with-cpu=power8 > configuration option, and run tests involve -flto. > > The following tests now run when I build a configuration without the > --with-cpu=power8 option: > > c-c++-common/torture/vector-compare-1.c > gcc.c-torture/execute/20050604-1.c > gcc.c-torture/execute/20060420-1.c > gcc.dg/torture/pr45678-1.c > gcc.dg/torture/pr45678-2.c > gcc.dg/torture/vector-1.c > gcc.dg/torture/vector-2.c > > There were no regressions in the run. > > Is it ok to install in the trunk and to back port to GCC 4.9 (and GCC 4.8 if > it > is still active)? > > 2015-03-02 Michael Meissner <meiss...@linux.vnet.ibm.com> > > PR 65138/target > * config/rs6000/rs6000-cpus.def (powerpc64le): Add new generic > processor type for 64-bit little endian PowerPC. > > * config/rs6000/rs6000.c (rs6000_option_override_internal): If > -mdebug=reg, print TARGET_DEFAULT. Fix logic to use > TARGET_DEFAULT if there is no default cpu. Fix -mdebug=reg > printing built-in mask so it does not pass NULL pointers. > > * doc/invoke.texi (IBM RS/6000 and PowerPC options): Document > -mcpu=powerpc64le.
Okay in trunk, 4.9 and 4.8. Thanks, David