[gcc r14-4102] Fix up 'g++.dg/abi/nvptx-ptrmem1.C'
Thomas Schwinge
tschwinge@gcc.gnu.org
Mon Sep 18 14:37:13 GMT 2023
https://gcc.gnu.org/g:3049501db3a31d10c84fc42b306e29b6fe68330f
commit r14-4102-g3049501db3a31d10c84fc42b306e29b6fe68330f
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Mon Sep 18 16:34:47 2023 +0200
Fix up 'g++.dg/abi/nvptx-ptrmem1.C'
..., which shortly after its inception in
commit 44eba92d0a0594bda5b53fcb3c8f84f164c653b6 (Subversion r231628)
"[PTX] parameters and return values" was forgotten to be updated in next day's
commit 1f0659546bcf5b95c3263cdc73149f6c2a05ebe1 (Subversion r231663)
"[PTX] more register cleanups". Fix it up now, as obvious, for the current
state of things.
gcc/testsuite/
* g++.dg/abi/nvptx-ptrmem1.C: Fix up.
Diff:
---
gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C b/gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C
index 08ffd7e373e..0c57f29fa21 100644
--- a/gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C
+++ b/gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C
@@ -9,7 +9,7 @@ struct A{};
typedef int A::*pmd;
typedef void (A::*pmf) ();
-// { dg-final { scan-assembler ".extern .func \\(.param.u64 %out_retval\\) _Z8dcl_rpmdv;" } }
+// { dg-final { scan-assembler ".extern .func \\(.param.u64 %value_out\\) _Z8dcl_rpmdv;" } }
pmd dcl_rpmd ();
// { dg-final { scan-assembler ".extern .func _Z8dcl_rpmfv \\(.param.u64 %in_ar0\\);" } }
@@ -29,7 +29,7 @@ void test_1 ()
dcl_apmf (0);
}
-// { dg-final { scan-assembler-times ".visible .func \\(.param.u64 %out_retval\\) _Z8dfn_rpmdv(?:;|\[\r\n\]+\{)" 2 } }
+// { dg-final { scan-assembler-times ".visible .func \\(.param.u64 %value_out\\) _Z8dfn_rpmdv(?:;|\[\r\n\]+\{)" 2 } }
pmd dfn_rpmd ()
{
return 0;
More information about the Gcc-cvs
mailing list