From 998d6381ac0082903b1c72e75517a41077c57f84 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Fri, 6 Dec 2019 10:54:46 +0000 Subject: [PATCH] [testsuite][aarch64] type_redef_11.c: Update expected diagnostics. After the fix for PR c/36941 and PR c/88827 (r278976), this test emits a different error message and needs an update. 2019-12-06 Christophe Lyon PR c/36941 PR c/88827 * gcc.target/aarch64/sve/acle/general-c/type_redef_11.c: Update expected diagnostics. From-SVN: r279039 --- gcc/testsuite/ChangeLog | 7 +++++++ .../gcc.target/aarch64/sve/acle/general-c/type_redef_11.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bcc65f27336..7d789fc3d93 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-12-06 Christophe Lyon + + PR c/36941 + PR c/88827 + * gcc.target/aarch64/sve/acle/general-c/type_redef_11.c: Update + expected diagnostics. + 2019-12-06 Richard Biener PR tree-optimization/92819 diff --git a/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c b/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c index 2147df72cfd..5af35b95846 100644 --- a/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c +++ b/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c @@ -8,5 +8,5 @@ struct svint8x2_t; 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} } */ } -- 2.30.2