diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-24 09:15:14 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-24 09:15:14 +0000 |
commit | 3a9cd27cdfc06453ef1f8111c1c924054c9dba7d (patch) | |
tree | f94c8dad035aaa03e627bc5d586f5d2818a390c8 /gcc/testsuite/gcc.c-torture/compile/pr49029.c | |
parent | d52dacf5c9774bf7f4cdb9bf181d17c866bc7c48 (diff) | |
download | gcc-3a9cd27cdfc06453ef1f8111c1c924054c9dba7d.tar.gz |
2011-05-24 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 174103 using svnmerge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@174106 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/pr49029.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr49029.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr49029.c b/gcc/testsuite/gcc.c-torture/compile/pr49029.c new file mode 100644 index 00000000000..ebe81b31b28 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr49029.c @@ -0,0 +1,10 @@ +/* PR middle-end/49029 */ +struct S { volatile unsigned f : 11; signed g : 30; } __attribute__((packed)); +struct T { volatile struct S h; } __attribute__((packed)) a; +void foo (int); + +void +bar () +{ + foo (a.h.g); +} |