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

Message ID ZYiCY3BstREB_3Yy@mx3210.localdomain
State Unresolved
Headers
Series [committed] hppa: Fix pr110279-1.c on hppa |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

John David Anglin Dec. 24, 2023, 7:11 p.m. UTC
  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*-*-*.
  

Patch

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;