summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture
diff options
context:
space:
mode:
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-13 17:34:45 +0000
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-13 17:34:45 +0000
commit97de3d141e3de3d4cbf5b239e4c2b76efa9bd7ff (patch)
tree0b755cd06886fd2f0d07b9afcb3cc4ffc6c3e80f /gcc/testsuite/gcc.c-torture
parent0be559b5e5cfa80554c723eb96187c4aab29440c (diff)
downloadgcc-97de3d141e3de3d4cbf5b239e4c2b76efa9bd7ff.tar.gz
* gcc.c-torture/execute/20041218-2.c: Add __attribute__((packed)).
* gcc.dg/intmax_t-1.c: Disable on *arm*-*-*elf*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99672 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20041218-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20041218-2.c b/gcc/testsuite/gcc.c-torture/execute/20041218-2.c
index c4b3627c9d1..d44b54db9a0 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20041218-2.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20041218-2.c
@@ -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);
}