Fix dg-warning in gcc.dg/alias-8.c
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 30 May 2015 15:36:59 +0000 (15:36 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 30 May 2015 15:36:59 +0000 (08:36 -0700)
* gcc.dg/alias-8.c: Fix dg-warning.

From-SVN: r223887

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/alias-8.c

index 9dea7c22d809cfd8af499811afceee02bcc97890..45ae35b0766ea7d568bbfec47e73509b41a53c44 100644 (file)
@@ -1,3 +1,7 @@
+2015-05-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.dg/alias-8.c: Fix dg-warning.
+
 2015-05-30  Jan Hubicka  <hubicka@ucw.cz>
 
        * gcc.dg/alias-8.c: Do not xfail.
index b99873e213abde1b1b2f466f187a62fa4e289c54..690f1b62da94bd8045ab83bed16052de232dafeb 100644 (file)
@@ -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" } */
 }