diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-03-30 02:25:37 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-03-30 02:25:37 +0100 |
commit | 1e57bf475bf7651b30a5a3199bc669617c5004a6 (patch) | |
tree | a3701e6d5c0e690302dbeb1ef83b5841596f4999 /gcc/c-lex.c | |
parent | 25d4deb101277208e94bac3af595d004801027de (diff) | |
download | gcc-1e57bf475bf7651b30a5a3199bc669617c5004a6.zip gcc-1e57bf475bf7651b30a5a3199bc669617c5004a6.tar.gz gcc-1e57bf475bf7651b30a5a3199bc669617c5004a6.tar.bz2 |
re PR c/35235 (struct/union rvalue qualifiers must not propagate to members)
PR c/35235
* c-typeck.c (build_component_ref): Do not copy qualifiers from
non-lvalue to component.
testsuite:
* gcc.dg/c99-array-lval-8.c: New test.
From-SVN: r145271
Diffstat (limited to 'gcc/c-lex.c')
0 files changed, 0 insertions, 0 deletions