Commit 4af8bb97 by H.J. Lu Committed by H.J. Lu

Fix dg-warning in gcc.dg/alias-8.c

	* gcc.dg/alias-8.c: Fix dg-warning.

From-SVN: r223887
parent 12fc64ac
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.
......
......@@ -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" } */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment