]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: Fix g++.dg/ext/sve-sizeless-1.C regression
authorJonathan Wakely <jwakely@redhat.com>
Fri, 13 Sep 2024 07:18:53 +0000 (08:18 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 14 Sep 2024 09:07:38 +0000 (10:07 +0100)
This aarch64-*-* test needs an update for the diagnostic I changed in
r15-3614-g9fe57e4879de93.

gcc/testsuite/ChangeLog:

* g++.dg/ext/sve-sizeless-1.C: Adjust dg-error string.

gcc/testsuite/g++.dg/ext/sve-sizeless-1.C

index 9f05ca5a855a894956595360da53f971c8eae0f4..adee37a0551e9595ce2eb5631ea7e99262d1671a 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 {not a pointer to object type} }
   __builtin_memcpy (&sve_sc1, &sve_sc2, 2);
 
   // Lambdas