diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-07-05 18:34:29 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-07-05 18:34:29 +0100 |
commit | 692a7aa3a5aea69f4f771b8a56f6aac9866fe383 (patch) | |
tree | 0336b82d2cbcc343230684b1de3dc6ab352f23af /gcc/c-tree.h | |
parent | 2d95cce3c9ddcd26b93fe95f539c3380e2213ad5 (diff) | |
download | gcc-692a7aa3a5aea69f4f771b8a56f6aac9866fe383.zip gcc-692a7aa3a5aea69f4f771b8a56f6aac9866fe383.tar.gz gcc-692a7aa3a5aea69f4f771b8a56f6aac9866fe383.tar.bz2 |
re PR c/22308 (Failure to diagnose violation of constraint 6.516p2)
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.
From-SVN: r101629
Diffstat (limited to 'gcc/c-tree.h')
0 files changed, 0 insertions, 0 deletions