From 4af8bb97627ff9ac46116bf5121187fada59ec60 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 30 May 2015 15:36:59 +0000 Subject: [PATCH] Fix dg-warning in gcc.dg/alias-8.c * gcc.dg/alias-8.c: Fix dg-warning. From-SVN: r223887 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/alias-8.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9dea7c22d80..45ae35b0766 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-05-30 H.J. Lu + + * gcc.dg/alias-8.c: Fix dg-warning. + 2015-05-30 Jan Hubicka * gcc.dg/alias-8.c: Do not xfail. diff --git a/gcc/testsuite/gcc.dg/alias-8.c b/gcc/testsuite/gcc.dg/alias-8.c index b99873e213a..690f1b62da9 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" } */ } -- 2.30.2