This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/33044] Local static variable in C++ constructor not visible for debugging
- From: "pinskia at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2007 16:51:41 -0000
- Subject: [Bug debug/33044] Local static variable in C++ constructor not visible for debugging
- References: <bug-33044-14963@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from pinskia at gmail dot com 2007-08-24 16:51 -------
Subject: Re: Local static variable in C++ constructor not visible for
debugging
On 24 Aug 2007 16:45:41 -0000, nikolay at totalviewtech dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
> What do you mean?
The IA64 C++ ABI requires two (or three) versions of constructor. So
GCC "clones" functions to deal with that. And we emit the context of
the local static variable part of the original function, not part of
any of its clones.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33044