From: H.J. Lu Date: Sat, 30 May 2015 15:36:59 +0000 (+0000) Subject: Fix dg-warning in gcc.dg/alias-8.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4af8bb97627ff9ac46116bf5121187fada59ec60;p=gcc.git Fix dg-warning in gcc.dg/alias-8.c * gcc.dg/alias-8.c: Fix dg-warning. From-SVN: r223887 --- 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" } */ }