OSDN Git Service

* gcc.dg/torture/pr26565.c: Expect warning on packed field for
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Mar 2007 12:06:14 +0000 (12:06 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Mar 2007 12:06:14 +0000 (12:06 +0000)
target default_packed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123059 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr26565.c

index d58871f..78cfd20 100644 (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
index d762032..d45272d 100644 (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));