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]

Re: c++/335: gcc accepts assignment in read-only structures


Synopsis: gcc accepts assignment in read-only structures

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Sat Dec 29 09:10:12 2001
State-Changed-Why:
    2001-12-26  Nathan Sidwell  <nathan@codesourcery.com>
    
    	PR c++/335
    	* init.c (resolve_offset_ref): Copy cv qualifiers of this pointer
    	for non-reference fields.
    	* typeck.c (require_complete_type): Use resolve_offset_ref).

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=335


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