This test needs fma support.  It is only available on hppa in PA 2.0.

Tested on hppa-unknown-linux-gnu.  Committed to trunk.

Dave
---

hppa: Fix pr110279-1.c on hppa

2023-12-24  John David Anglin  <dang...@gcc.gnu.org>

gcc/testsuite/ChangeLog:

        * gcc.dg/pr110279-1.c: Add -march=2.0 option on hppa*-*-*.

diff --git a/gcc/testsuite/gcc.dg/pr110279-1.c 
b/gcc/testsuite/gcc.dg/pr110279-1.c
index f25b6aec967..291824c0a48 100644
--- a/gcc/testsuite/gcc.dg/pr110279-1.c
+++ b/gcc/testsuite/gcc.dg/pr110279-1.c
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-Ofast --param avoid-fma-max-bits=512 --param 
tree-reassoc-width=4 -fdump-tree-widening_mul-details" } */
 /* { dg-additional-options "-march=armv8.2-a" { target aarch64-*-* } } */
+/* { dg-additional-options "-march=2.0" { target hppa*-*-* } } */
 
 #define LOOP_COUNT 800000000
 typedef double data_e;

Attachment: signature.asc
Description: PGP signature

Reply via email to