[Bug c++/31809] [4.1/4.2/4.3 Regression] sometimes TREE_READONLY is still set for non read only variables causing wrong code
mark at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Thu May 31 16:33:00 GMT 2007
------- Comment #9 from mark at codesourcery dot com 2007-05-31 16:32 -------
Subject: Re: [4.1/4.2/4.3 Regression] sometimes TREE_READONLY
is still set for non read only variables causing wrong code
jakub at gcc dot gnu dot org wrote:
> 2007-05-31 Jakub Jelinek <jakub@redhat.com>
>
> PR c++/31806
> * decl.c (cp_finish_decl): Also clear was_readonly if a static var
> needs runtime initialization.
This patch is OK.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31809
More information about the Gcc-bugs
mailing list