[committed] hppa: Fix pr110279-1.c on hppa

John David Anglin dave@parisc-linux.org
Sun Dec 24 19:11:31 GMT 2023


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  <danglin@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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20231224/1ab00759/attachment.sig>


More information about the Gcc-patches mailing list