This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

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



------- 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


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