From ac9e52e72bb6a8aabec9a53d6e045b78dafacb45 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Fri, 9 Dec 2016 14:26:07 +0000 Subject: [PATCH] Add the test this time... PR target/78733 * gcc.target/aarch64/pr78733.c: New test. From-SVN: r243486 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/aarch64/pr78733.c | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 gcc/testsuite/gcc.target/aarch64/pr78733.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3f169367138..6390bdaa342 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-12-09 Wilco Dijkstra + + PR target/78733 + * gcc.target/aarch64/pr78733.c: New test. + 2016-12-09 Janus Weil PR fortran/61767 diff --git a/gcc/testsuite/gcc.target/aarch64/pr78733.c b/gcc/testsuite/gcc.target/aarch64/pr78733.c new file mode 100644 index 00000000000..ce462cedf9f --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/pr78733.c @@ -0,0 +1,10 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -mpc-relative-literal-loads" } */ + +__int128 +t (void) +{ + return (__int128)1 << 80; +} + +/* { dg-final { scan-assembler "adr" } } */ -- 2.30.2