From 648e17d28df124d8eac937babae804262d605499 Mon Sep 17 00:00:00 2001 From: James Greenhalgh Date: Mon, 5 Dec 2016 09:35:28 +0000 Subject: [PATCH] [Patch 2/2 PR78561] Recalculate constant pool size before emitting it gcc/testsuite/ PR rtl-optimization/78561 * gcc.target/aarch64/pr78561.c: Add missing testcase from r243183. From-SVN: r243239 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/aarch64/pr78561.c | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 gcc/testsuite/gcc.target/aarch64/pr78561.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 838fca5f1bc..2fe40d0c8e2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-12-04 James Greenhalgh + + PR rtl-optimization/78561 + * gcc.target/aarch64/pr78561.c: Add missing testcase from r243183. + 2016-12-04 Martin Sebor PR c/78668 diff --git a/gcc/testsuite/gcc.target/aarch64/pr78561.c b/gcc/testsuite/gcc.target/aarch64/pr78561.c new file mode 100644 index 00000000000..048d2d7969f --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/pr78561.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-options "-Og -O3 -mcmodel=tiny" } */ + +int +main (__fp16 x) +{ + __fp16 a = 6.5504e4; + return (x <= a); +} -- 2.30.2