OSDN Git Service

PR c/22308
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jul 2005 17:34:29 +0000 (17:34 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jul 2005 17:34:29 +0000 (17:34 +0000)
commitd8828f5588041b10e148608e265e4fcc54e05f7c
tree0336b82d2cbcc343230684b1de3dc6ab352f23af
parent5ea0188d78d9e10b5365b8f5f6be2f3470153ef4
PR c/22308
* c-decl.c (finish_struct): Also copy C_TYPE_FIELDS_READONLY,
C_TYPE_FIELDS_VOLATILE and C_TYPE_VARIABLE_SIZE to type variants.

testsuite:
* gcc.dg/pr22308-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101629 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr22308-1.c [new file with mode: 0644]