This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/33044] Local static variable in C++ constructor not visible for debugging



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]