pr26565.c: Expect warning on packed field for target default_packed.

* gcc.dg/torture/pr26565.c: Expect warning on packed field for
	target default_packed.

From-SVN: r123059
This commit is contained in:
Hans-Peter Nilsson 2007-03-19 12:06:14 +00:00 committed by Hans-Peter Nilsson
parent 609e7e8092
commit 3d16fe64c5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-03-19 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/torture/pr26565.c: Expect warning on packed field for
target default_packed.
2007-03-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR fortran/31203

View File

@ -11,7 +11,7 @@ struct timeval {
struct outdata {
long align;
char seq;
struct timeval tv __attribute__((packed));
struct timeval tv __attribute__((packed)); /* { dg-warning "attribute ignored" "" { target default_packed } } */
};
void send_probe(struct outdata *outdata, struct timeval *tp) __attribute__((noinline));