This is the mail archive of the gcc@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]

Re: mutable members in global const objects


On Mon, Aug 03, 1998 at 11:58:56PM -0700, Jason Merrill wrote:
> Nah, all that needs to happen is to avoid setting TREE_READONLY on
> VAR_DECLs with mutable members.

That's exactly what my patch does, by adding a flag TREE_MUTABLE to
track if a type is read only but has mutable members, or members
themselves having mutable members etc.

-- Jamie



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