https://gcc.gnu.org/g:68fd1665f0f8e4e59c645ea6cd97a69bb799d339
commit r13-9186-g68fd1665f0f8e4e59c645ea6cd97a69bb799d339 Author: Haochen Jiang <haochen.ji...@intel.com> Date: Thu Nov 14 11:06:01 2024 +0800 testsuite: Correct dg-error to dg-warning for cmpccxadd testcase in GCC13 In GCC13, the error for GCC14+ is actually a warning for the pointer type. Correct that in testcase. gcc/testsuite/ChangeLog: * gcc.target/i386/cmpccxadd-1b.c: Change to dg-warning. Diff: --- 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 7d20325da50f..f8195eaafe54 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" } */ }