aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2016-01-04 08:14:12 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2016-01-04 08:14:12 +0000
commit9e3b2fe375baa8b1a959892661e64766f32c613a (patch)
tree025e3876ff3d0f5307ce054945768f98ee6aedb4 /gcc/testsuite
parente8d65a35d50c59fa657329032943b0e5ec241147 (diff)
downloadgcc-9e3b2fe375baa8b1a959892661e64766f32c613a.zip
gcc-9e3b2fe375baa8b1a959892661e64766f32c613a.tar.gz
gcc-9e3b2fe375baa8b1a959892661e64766f32c613a.tar.bz2
re PR target/69100 (ICE in final_scan_insn with -msoft-float and __builtin_apply)
PR target/69100 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit mode for %f0-%f31 only if TARGET_FPU. From-SVN: r232050
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.target/sparc/20160104-2.c11
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 148ac10..f2f9629 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
+ * gcc.target/sparc/20160104-2.c: New test.
+
+2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
+
* gcc.target/sparc/20160104-1.c: New test.
2016-01-03 Paul Thomas <pault@gcc.gnu.org>
diff --git a/gcc/testsuite/gcc.target/sparc/20160104-2.c b/gcc/testsuite/gcc.target/sparc/20160104-2.c
new file mode 100644
index 0000000..837161d
--- /dev/null
+++ b/gcc/testsuite/gcc.target/sparc/20160104-2.c
@@ -0,0 +1,11 @@
+/* PR target/69100 */
+/* Reported by Zdenek Sojka <zsojka@seznam.cz> */
+
+/* { dg-do compile } */
+/* { dg-options "-mno-fpu" } */
+
+void
+foo (void)
+{
+ __builtin_apply (0, 0, 0);
+}