mutable members in global const objects

Jamie Lokier egcs@tantalophile.demon.co.uk
Wed Aug 5 03:29:00 GMT 1998


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




More information about the Gcc mailing list