Commit 967bfd2c by Julian Brown Committed by Julian Brown

20041218-2.c: Add __attribute__((packed)).

	* gcc.c-torture/execute/20041218-2.c: Add __attribute__((packed)).
	* gcc.dg/intmax_t-1.c: Disable on *arm*-*-*elf*.

From-SVN: r99672
parent 52c9ce2e
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.
......
......@@ -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);
}
......
/* { 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. */
......
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