]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
20041218-2.c: Add __attribute__((packed)).
authorJulian Brown <julian@codesourcery.com>
Fri, 13 May 2005 17:34:45 +0000 (17:34 +0000)
committerJulian Brown <jules@gcc.gnu.org>
Fri, 13 May 2005 17:34:45 +0000 (17:34 +0000)
* gcc.c-torture/execute/20041218-2.c: Add __attribute__((packed)).
* gcc.dg/intmax_t-1.c: Disable on *arm*-*-*elf*.

From-SVN: r99672

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20041218-2.c
gcc/testsuite/gcc.dg/intmax_t-1.c

index 44abb234dc4bf2f27dd027540250aaafb85e39f2..47c6771ea86b8c7869fd189329271f096676ee18 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-13  Julian Brown  <julian@codesourcery.com>
+
+       * gcc.c-torture/execute/20041218-2.c: Add __attribute__((packed)).
+       * gcc.dg/intmax_t-1.c: Disable on *arm*-*-*elf*.
+
 2005-05-13  Jan Hubicka  <jh@suse.cz>
 
        * gcc.dg/builtins-43.c: Use gimple dump instead of generic.
index c4b3627c9d1a6ea7620feaf2d73b54c24a30453f..d44b54db9a0423759265e0f562117f7b6e8ea105 100644 (file)
@@ -2,7 +2,7 @@ extern void abort (void);
 
 int test(int n)
 {
-  struct s { char b[n]; };
+  struct s { char b[n]; } __attribute__((packed));
   n++;
   return sizeof(struct s);
 }
index 38e42f5b5c270ab2a918371bd218a3240944c608..6c9820a2da9b11655ec7c4b0d79b5c18aa6b43e3 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-Wall" } */
-/* { dg-error "" "" { target *-*-solaris2.5.1 mmix-*-* mips*-*-elf* } 0 } */
+/* { dg-error "" "" { target *-*-solaris2.5.1 mmix-*-* mips*-*-elf* *arm*-*-*elf* } 0 } */
 
 /* Compile with -Wall to get a warning if built-in and system intmax_t don't
    match.  */