This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,rs6000] PR80108: Fix ICE with cross compiler
- From: Pat Haugen <pthaugen at linux dot vnet dot ibm dot com>
- To: Kelvin Nilsen <kdnilsen at linux dot vnet dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Segher Boessenkool <segher at gcc dot gnu dot org>
- Date: Mon, 3 Apr 2017 10:56:50 -0500
- Subject: Re: [PATCH,rs6000] PR80108: Fix ICE with cross compiler
- Authentication-results: sourceware.org; auth=none
- References: <edeee04a-1c4d-0dcb-ef63-4b2c2857a74b@linux.vnet.ibm.com>
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?
> +! { dg-require-effective-target powerpc_p9vector_ok }
> +! { dg-options "-m32 -mcpu=405 -mpower9-minmax -mfloat128-type" }
-m32 is invalid for LE, so the test should be skipped for powerpc64le.