Hi all,

In GCC13, the error for GCC14+ is actually a warning for the pointer type.
Correct that in testcase.

Commit as obvious.

Thx,
Haochen

gcc/testsuite/ChangeLog:

        * gcc.target/i386/cmpccxadd-1b.c: Change to dg-warning.
---
 gcc/testsuite/gcc.target/i386/cmpccxadd-1b.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/cmpccxadd-1b.c 
b/gcc/testsuite/gcc.target/i386/cmpccxadd-1b.c
index 7d20325da50..f8195eaafe5 100644
--- a/gcc/testsuite/gcc.target/i386/cmpccxadd-1b.c
+++ b/gcc/testsuite/gcc.target/i386/cmpccxadd-1b.c
@@ -10,6 +10,6 @@ long long e, f;
 void extern
 cmpccxadd_test(void)
 {
-  b = _cmpccxadd_epi32 (a, b, c, _CMPCCX_O); /* { dg-error "incompatible 
pointer type" } */
-  e = _cmpccxadd_epi64 (d, e, f, _CMPCCX_O); /* { dg-error "incompatible 
pointer type" } */
+  b = _cmpccxadd_epi32 (a, b, c, _CMPCCX_O); /* { dg-warning "incompatible 
pointer type" } */
+  e = _cmpccxadd_epi64 (d, e, f, _CMPCCX_O); /* { dg-warning "incompatible 
pointer type" } */
 }
-- 
2.31.1

Reply via email to