[Bug ipa/66342] [6 regression] FAIL: g++.dg/ipa/ipa-icf-4.C -std=gnu++11 scan-ipa-dump icf "Equal symbols: [67]"

miyuki at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat May 30 14:16:00 GMT 2015


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" "" } */
 }



More information about the Gcc-bugs mailing list