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_apin...@quicinc.com> --- gcc/testsuite/g++.dg/ext/sve-sizeless-2.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/ext/sve-sizeless-2.C b/gcc/testsuite/g++.dg/ext/sve-sizeless-2.C index 0b86d9e8217..394ac1e4579 100644 --- a/gcc/testsuite/g++.dg/ext/sve-sizeless-2.C +++ b/gcc/testsuite/g++.dg/ext/sve-sizeless-2.C @@ -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 -- 2.43.0