diff mbox

[committed,AArch64] Fix dbl_mov_immediate_1.c test

Message ID 59917BA5.5040300@arm.com
State New
Headers show

Commit Message

Szabolcs Nagy Aug. 14, 2017, 10:29 a.m. UTC
Make sure adrp is used for literal loads.

committed as obvious.

gcc/testsuite/ChangeLog:

2017-08-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* gcc.target/aarch64/dbl_mov_immediate_1.c: Add
	-mno-pc-relative-literal-loads.
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c b/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c
index e8dd01db056..ba6a230457b 100644
--- a/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c
@@ -1,5 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-options "-O3" } */
+/* { dg-options "-O3 -mno-pc-relative-literal-loads" } */
 /* { dg-skip-if "Tiny model won't generate adrp" { *-*-* } { "-mcmodel=tiny" } { "" } } */
 
 double d0(void)