[Bug c++/31806] miscompilation with -fschedule-insns2 -fno-threadsafe-statics
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu May 31 16:40:00 GMT 2007
------- Comment #7 from jakub at gcc dot gnu dot org 2007-05-31 16:40 -------
Subject: Bug 31806
Author: jakub
Date: Thu May 31 16:40:12 2007
New Revision: 125229
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125229
Log:
PR c++/31806
* decl.c (cp_finish_decl): Also clear was_readonly if a static var
needs runtime initialization.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31806
More information about the Gcc-bugs
mailing list