diff mbox series

c++: Fix g++.dg/ext/sve-sizeless-1.C regression

Message ID 20240913072319.572399-1-jwakely@redhat.com
State New
Headers show
Series c++: Fix g++.dg/ext/sve-sizeless-1.C regression | expand

Commit Message

Jonathan Wakely Sept. 13, 2024, 7:22 a.m. UTC
I'll wait for Linaro CI to confirm this works, and then push.

I didn't see the regression because I only tested on x86_64.

-- >8 --

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrew Pinski Oct. 2, 2024, 10:10 p.m. UTC | #1
On Fri, Sep 13, 2024 at 12:24 AM Jonathan Wakely <jwakely@redhat.com> wrote:
>
> I'll wait for Linaro CI to confirm this works, and then push.
>
> I didn't see the regression because I only tested on x86_64.

You never pushed this fix.

Thanks,
Andrew

>
> -- >8 --
>
> 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 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C b/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C
> index 9f05ca5a855..adee37a0551 100644
> --- a/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C
> +++ b/gcc/testsuite/g++.dg/ext/sve-sizeless-1.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 {not a pointer to object type} }
>    __builtin_memcpy (&sve_sc1, &sve_sc2, 2);
>
>    // Lambdas
> --
> 2.46.0
>
diff mbox series

Patch

diff --git a/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C b/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C
index 9f05ca5a855..adee37a0551 100644
--- a/gcc/testsuite/g++.dg/ext/sve-sizeless-1.C
+++ b/gcc/testsuite/g++.dg/ext/sve-sizeless-1.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 {not a pointer to object type} }
   __builtin_memcpy (&sve_sc1, &sve_sc2, 2);
 
   // Lambdas