c++/335: gcc accepts assignment in read-only structures
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Sat Dec 29 09:10:00 GMT 2001
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
More information about the Gcc-prs
mailing list