Hi, After the fix for PR c/36941 and PR c/88827 (r278976), this test emits a different error message and needs an update.
I've committed this as r279039. Christophe 2019-12-06 Christophe Lyon <christophe.l...@linaro.org> PR c/36941 PR c/88827 * gcc.target/aarch64/sve/acle/general-c/type_redef_11.c: Update expected diagnostics. Index: gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c =================================================================== --- gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c (revision 279038) +++ gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c (revision 279039) @@ -8,5 +8,5 @@ void f (svint8x2_t *a, struct svint8x2_t *b) { - *a = *b; /* { dg-error {dereferencing pointer to incomplete type} } */ + *a = *b; /* { dg-error {invalid use of undefined type} } */ }