]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arm: C++26 uses __equal() instead of operator==()
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Wed, 18 Dec 2024 19:54:00 +0000 (20:54 +0100)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Thu, 19 Dec 2024 12:08:21 +0000 (13:08 +0100)
Update test case to align with used function in C++26.

gcc/testsuite/ChangeLog:

* g++.dg/abi/arm_rtti1.C: Check for expected symbol in C++26.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gcc/testsuite/g++.dg/abi/arm_rtti1.C

index 74f00033d9aa0805e3d8247907b862a19d6fcfb0..5ebae26e67032a72fe5a5feaf698464e01625362 100644 (file)
@@ -2,7 +2,8 @@
 // { dg-options "-O2" } 
 // Check that, even when optimizing, we emit an out-of-line call to
 // the type-info comparison function.
-// { dg-final { scan-assembler _ZNKSt9type_infoeqERKS_ } }
+// { dg-final { scan-assembler _ZNKSt9type_infoeqERKS_ { target { ! c++26 } } } }
+// { dg-final { scan-assembler _ZNKSt9type_info7__equalERKS_ { target { c++26 } } } }
 
 #include <typeinfo>