]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix up 'g++.dg/abi/nvptx-ptrmem1.C'
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 18 Sep 2023 14:34:47 +0000 (16:34 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 18 Sep 2023 14:36:52 +0000 (16:36 +0200)
..., 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.

gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C

index 08ffd7e373e9a99e9f46e99c4fa3213be08aca0a..0c57f29fa213c34a21791c048e6c3757e4a6de24 100644 (file)
@@ -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;