This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug debug/33044] Local static variable in C++ constructor not visible for debugging
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 24 Aug 2007 09:51:27 -0700
- Subject: Re: [Bug debug/33044] Local static variable in C++ constructor not visible for debugging
- References: <bug-33044-14963@http.gcc.gnu.org/bugzilla/> <20070824164541.7720.qmail@sourceware.org>
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