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: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2005 22:14:23 -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 bangerth at dealii dot org 2005-07-07 22:14 -------
That's just what the standard says: these variables are initialized when
execution first passes their location of declaration.
I guess this PR is indeed invalid, so I close it.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22355