From edf8ba4bba1be9b8ccad3be21896e7ee81cd788d Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Tue, 25 Jul 2017 12:03:13 +0000 Subject: [PATCH] re PR target/79041 (aarch64 backend emits R_AARCH64_ADR_PREL_PG_HI21 relocation despite -mpc-relative-literal-loads option being used) Fix PR79041 Add missing scan assembler to testcase. gcc/testsuite/ * gcc.target/aarch64/pr79041-2.c: Improve test. From-SVN: r250512 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/aarch64/pr79041-2.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d79286fe70d..433b79c39d9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-07-25 Wilco Dijkstra + + * testsuite/gcc.target/aarch64/pr79041-2.c: Improve test. + 2017-07-25 Richard Biener PR tree-optimization/81410 diff --git a/gcc/testsuite/gcc.target/aarch64/pr79041-2.c b/gcc/testsuite/gcc.target/aarch64/pr79041-2.c index e7899725bad..cd34fbab85a 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr79041-2.c +++ b/gcc/testsuite/gcc.target/aarch64/pr79041-2.c @@ -8,3 +8,4 @@ t (void) } /* { dg-final { scan-assembler "adr" } } */ +/* { dg-final { scan-assembler-not "adrp" } } */ -- 2.30.2