diff options
author | rask <rask@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-16 20:01:20 +0000 |
---|---|---|
committer | rask <rask@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-16 20:01:20 +0000 |
commit | 067fd73fa7c855ae6596473bd8dac2658155a985 (patch) | |
tree | 3af515038a16c8b8d0893cd19741a7a4a5b5d4e0 /gcc/testsuite/gcc.dg/20061109-2.c | |
parent | 5e13091d5313c768a47371c450fabde2cc2dc3a7 (diff) | |
download | gcc-067fd73fa7c855ae6596473bd8dac2658155a985.tar.gz |
2007-07-16 Rask Ingemann Lambertsen <rask@sygehus.dk>
* gcc.c-torture/execute/20061101-2.c: Variant of 20061101-1.c
adapted to work on targets with 16-bit or wider int.
* gcc.c-torture/execute/pr29797-2.c: Likewise for pr29797-1.c.
* gcc.c-torture/execute/pr31448-2.c: Likewise for pr31448.c.
* gcc.dg/20061109-2.c: Likewise for 20061109-1.c.
* gcc.dg/pr27959-2.c: Likewise for pr27959.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/20061109-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20061109-2.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20061109-2.c b/gcc/testsuite/gcc.dg/20061109-2.c new file mode 100644 index 00000000000..30be434d53c --- /dev/null +++ b/gcc/testsuite/gcc.dg/20061109-2.c @@ -0,0 +1,17 @@ +/* { dg-do compile } */ +/* { dg-options "-O1" } */ + +/* This assignment might be implemented with a mem copy from the + literal pool with two BLKmode operands. This produced an ICE on S/390 + since simplify_subreg was called for such a BLKmode operand. */ + +struct a +{ + unsigned long b:24; +}; + +void +foo (struct a *t) +{ + t->b = 32; +} |