This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21089] [4.0/4.1 Regression] C++ front-end does not "inline" the static const double
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2005 16:49:35 -0000
- Subject: [Bug c++/21089] [4.0/4.1 Regression] C++ front-end does not "inline" the static const double
- References: <bug-21089-183@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #18 from mmitchel at gcc dot gnu dot org 2005-10-11 16:49 -------
The optimization question in Comment #11 was answered incorrectly.
The C++ standard in fact requires that Y be initialized before the constructor
is run; see [basic.start.init].
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21089