This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28991] [4.2 Regression] Static constructor emitted instead of initialized variable
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2006 05:39:09 -0000
- Subject: [Bug c++/28991] [4.2 Regression] Static constructor emitted instead of initialized variable
- References: <bug-28991-8549@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-09 05:39 -------
I cannot figure out which function should be stripping the BASELINK expression.
OVERLOADS work because perform_implicit_conversion strips it after going
through the overloaded set to figure out which function is correct.
I don't know if store_init_value should do it or some other function.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28991