https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66342

--- Comment #3 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
Probably a typo. It should be:

diff --git a/gcc/testsuite/gcc.dg/alias-8.c b/gcc/testsuite/gcc.dg/alias-8.c
index b99873e..4c95c55 100644
--- a/gcc/testsuite/gcc.dg/alias-8.c
+++ b/gcc/testsuite/gcc.dg/alias-8.c
@@ -8,5 +8,5 @@ struct s {
 void
 func(struct s *ptr)
 {
-  *(void **)&ptr->p = 0; /* { dg-warning "type-punned pointer" "" { } } */
+  *(void **)&ptr->p = 0; /* { dg-warning "type-punned pointer" "" } */
 }

Reply via email to