This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22355] Multiple local static variables initialization: missed optimization opportunity
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2005 20:52:51 -0000
- Subject: [Bug c++/22355] Multiple local static variables initialization: missed optimization opportunity
- References: <20050707202900.22355.yuri@tsoft.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2005-07-07 20:52 -------
I think Andres is right: what if C's constructor calls f() (only the first time
it is invoked)?
I believe this bug is invalid.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22355