diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2019-12-06 10:54:46 +0000 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2019-12-06 11:54:46 +0100 |
commit | 998d6381ac0082903b1c72e75517a41077c57f84 (patch) | |
tree | 1f1ee3ee1f6d9aae62936134f1f14ce4c60e7632 /gcc | |
parent | ea1ff9e46c7ec5e49ec671616cfcf405ef665054 (diff) | |
download | gcc-998d6381ac0082903b1c72e75517a41077c57f84.zip gcc-998d6381ac0082903b1c72e75517a41077c57f84.tar.gz gcc-998d6381ac0082903b1c72e75517a41077c57f84.tar.bz2 |
[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 <christophe.lyon@linaro.org>
PR c/36941
PR c/88827
* gcc.target/aarch64/sve/acle/general-c/type_redef_11.c: Update
expected diagnostics.
From-SVN: r279039
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/type_redef_11.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bcc65f2..7d789fc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-12-06 Christophe Lyon <christophe.lyon@linaro.org> + + 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 <rguenther@suse.de> 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 2147df7..5af35b9 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} } */ } |