This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][arm] PR target/82975: Guard against reg_renumber being NULL in arm.h
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 19 Dec 2017 22:56:35 +0100
- Subject: Re: [PATCH][arm] PR target/82975: Guard against reg_renumber being NULL in arm.h
- Authentication-results: sourceware.org; auth=none
- References: <5A39453D.5080906@foss.arm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Dec 19, 2017 at 04:58:37PM +0000, Kyrill Tkachov wrote:
> 2017-12-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> PR target/82975
> * gcc.dg/pr82975.c: New test.
The testcase FAILs on x86_64-linux/i686-linux and probably on all
non-arm/aarch64 targets.
Fixed thusly, committed to trunk as obvious.
2017-12-19 Jakub Jelinek <jakub@redhat.com>
PR target/82975
* gcc.dg/pr82975.c: Only add -mtune=cortex-a57 on arm*/aarch64*
targets.
--- gcc/testsuite/gcc.dg/pr82975.c.jj 2017-12-19 18:07:33.000000000 +0100
+++ gcc/testsuite/gcc.dg/pr82975.c 2017-12-19 22:53:36.383901451 +0100
@@ -1,6 +1,7 @@
/* PR target/82975. */
/* { dg-do compile } */
-/* { dg-options "-mtune=cortex-a57 -fno-sched-pressure -O2" } */
+/* { dg-options "-fno-sched-pressure -O2" } */
+/* { dg-additional-options "-mtune=cortex-a57" { target arm*-*-* aarch64*-*-* } } */
typedef __SIZE_TYPE__ size_t;
Jakub