[Bug c++/31809] [4.1/4.2/4.3 Regression] sometimes TREE_READONLY is still set for non read only variables causing wrong code

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 28 01:12:00 GMT 2007



------- Comment #3 from mmitchel at gcc dot gnu dot org  2007-05-28 01:11 -------
I agree.  I think that in cp_finish_decl, we should unset TREE_READONLY for
variables with a dynamic initializers.  Please let me know if you need help
working on a patch for that.


-- 


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



More information about the Gcc-bugs mailing list