[Patch 2/2 PR78561] Recalculate constant pool size before emitting it
authorJames Greenhalgh <james.greenhalgh@arm.com>
Mon, 5 Dec 2016 09:35:28 +0000 (09:35 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Mon, 5 Dec 2016 09:35:28 +0000 (09:35 +0000)
gcc/testsuite/

PR rtl-optimization/78561
* gcc.target/aarch64/pr78561.c: Add missing testcase from r243183.

From-SVN: r243239

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr78561.c [new file with mode: 0644]

index 838fca5f1bc1a4d70e3f5810960213f7c6ef6f8a..2fe40d0c8e2f70518bdd1cf23c44dd7de000ab56 100644 (file)
@@ -1,3 +1,8 @@
+2016-12-04  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       PR rtl-optimization/78561
+       * gcc.target/aarch64/pr78561.c: Add missing testcase from r243183.
+
 2016-12-04  Martin Sebor  <msebor@redhat.com>
 
        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 (file)
index 0000000..048d2d7
--- /dev/null
@@ -0,0 +1,9 @@
+/* { dg-do compile } */
+/* { dg-options "-Og -O3 -mcmodel=tiny" } */
+
+int
+main (__fp16 x)
+{
+  __fp16 a = 6.5504e4;
+  return (x <= a);
+}