Commit 3d16fe64 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

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
parent 609e7e80
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> 2007-03-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR fortran/31203 PR fortran/31203
...@@ -11,7 +11,7 @@ struct timeval { ...@@ -11,7 +11,7 @@ struct timeval {
struct outdata { struct outdata {
long align; long align;
char seq; 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)); void send_probe(struct outdata *outdata, struct timeval *tp) __attribute__((noinline));
......
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