]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Update error message check for __builtin_launder check of sve-sizeless-2.C
authorAndrew Pinski <quic_apinski@quicinc.com>
Tue, 26 Nov 2024 21:38:15 +0000 (13:38 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Tue, 26 Nov 2024 21:41:47 +0000 (13:41 -0800)
r15-3614-g9fe57e4879de93 changed the error message for __builtin_launder but this testcase
was not updated for the new format of the error message since it is an aarch64 specific
testcase.

This patch updates the expected error message.

Pushed as obvious after testing to see the testcase now works.

gcc/testsuite/ChangeLog:

* g++.dg/ext/sve-sizeless-2.C: Update the expected error message
for __builtin_launder.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/g++.dg/ext/sve-sizeless-2.C

index 0b86d9e82176ecd10f88ff7e1f86804dfe7b7d7d..394ac1e45795d4b26618429479fa3aad9c7c4a77 100644 (file)
@@ -301,7 +301,7 @@ statements (int n)
 
   // Other built-ins
 
-  __builtin_launder (sve_sc1); // { dg-error {non-pointer argument to '__builtin_launder'} }
+  __builtin_launder (sve_sc1); // { dg-error {'svint8_t' of argument to '__builtin_launder' is not a pointer to object type} }
   __builtin_memcpy (&sve_sc1, &sve_sc2, 2);
 
   // Lambdas