Re: [PATCH,rs6000] PR80108: Fix ICE with cross compiler

2017-04-03 Thread Segher Boessenkool
On Mon, Apr 03, 2017 at 10:56:50AM -0500, Pat Haugen wrote: > On 03/31/2017 06:28 PM, Kelvin Nilsen wrote: > > +! { dg-do compile { target { powerpc*-*-* } } } > > +! { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { > > "-mcpu=power9" } } > > Shouldn't it be -mcpu=405 in the

Re: [PATCH,rs6000] PR80108: Fix ICE with cross compiler

2017-04-03 Thread Pat Haugen
On 03/31/2017 06:28 PM, Kelvin Nilsen wrote: > +! { dg-do compile { target { powerpc*-*-* } } } > +! { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { > "-mcpu=power9" } } Shouldn't it be -mcpu=405 in the exclude string since that's what's specified below? > +! {

[PATCH,rs6000] PR80108: Fix ICE with cross compiler

2017-03-31 Thread Kelvin Nilsen
PR 80108 describes an ICE that occurs on an existing test program when compiled with a particular combination of target options. This patch fixes the compiler to reject that particular combination of target options since it is not meaningful and duplicates the offending test case with a