This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/35235] [4.2/4.3/4.4/4.5 Regression] struct/union rvalue qualifiers must not propagate to members



------- Comment #4 from jsm28 at gcc dot gnu dot org  2009-03-30 01:25 -------
Subject: Bug 35235

Author: jsm28
Date: Mon Mar 30 01:25:37 2009
New Revision: 145271

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145271
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:
    trunk/gcc/testsuite/gcc.dg/c99-array-lval-8.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35235


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]