[Bug c/35235] [4.2/4.3/4.4 Regression] struct/union rvalue qualifiers must not propagate to members
--- Comment #2 from jsm28 at gcc dot gnu dot org 2009-02-04 17:14 --- Working on a patch. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jsm28 at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2008-12-29 07:07:08 |2009-02-04 17:14:54 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35235
[Bug c/35235] [4.2/4.3/4.4 Regression] struct/union rvalue qualifiers must not propagate to members
--- Comment #3 from jsm28 at gcc dot gnu dot org 2009-02-04 21:02 --- Subject: Bug 35235 Author: jsm28 Date: Wed Feb 4 21:02:42 2009 New Revision: 143940 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143940 Log: 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. Added: branches/c-4_5-branch/gcc/testsuite/gcc.dg/c99-array-lval-8.c Modified: branches/c-4_5-branch/gcc/ChangeLog.c45 branches/c-4_5-branch/gcc/c-typeck.c branches/c-4_5-branch/gcc/testsuite/ChangeLog.c45 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35235
[Bug c/35235] [4.2/4.3/4.4 Regression] struct/union rvalue qualifiers must not propagate to members
--- Comment #1 from jsm28 at gcc dot gnu dot org 2008-07-04 19:30 --- Closing 4.1 branch. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Summary|struct/union rvalue |[4.2/4.3/4.4 Regression] |qualifiers must not |struct/union rvalue |propagate to members|qualifiers must not ||propagate to members Target Milestone|4.1.3 |4.2.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35235