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