https://gcc.gnu.org/g:a8b4ea1bcc10b5253992f4b932aec6862aef32fa

commit r15-4371-ga8b4ea1bcc10b5253992f4b932aec6862aef32fa
Author: liuhongt <hongtao....@intel.com>
Date:   Tue Oct 15 11:17:20 2024 +0800

    Adjust testcase to avoid scan FIX in REG_EQUIV.
    
    Also add hard_float target to avoid failed on arm-eabi.
    
    gcc/testsuite/ChangeLog:
    
            PR testsuite/115365
            * gcc.dg/pr100927.c: Adjust testcase to avoid scan FIX in REG_EQUIV.

Diff:
---
 gcc/testsuite/gcc.dg/pr100927.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr100927.c b/gcc/testsuite/gcc.dg/pr100927.c
index 8a7d69c38311..28a168d35184 100644
--- a/gcc/testsuite/gcc.dg/pr100927.c
+++ b/gcc/testsuite/gcc.dg/pr100927.c
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target hard_float } */
 /* { dg-options "-O2 -ftrapping-math -fdump-tree-optimized -fdump-rtl-final" } 
*/
 /* { dg-final { scan-tree-dump-times {(?n)= \(int\)} 3 "optimized" } }  */
-/* { dg-final { scan-rtl-dump-times {(?n)^[ \t]*\(fix:SI} 3 "final" } }  */
+/* { dg-final { scan-rtl-dump-times {(?n)^(?!.*REG_EQUIV)(?=.*\(fix:SI)} 3 
"final" } }  */
 
 int
 foo_ofr ()

Reply via email to