Hello Brian,

* Brian Dessent wrote on Thu, Nov 13, 2008 at 11:16:24PM CET:
> Ralf Wildenhues wrote:
> 
> > I'm actually not sure whether _GLOBAL__F[ID]_.* can appear on w32.
> > Do you know?  They should happen with C++ code using constructors
> > and destructors IIRC.
> 
> Yes they do occur, although not matching that regexp.  For one, they
> will have two leading underscores before the G, as with all symbols
> compared to their linux counterparts (i.e. __USER_LABEL_PREFIX__ is "_"
> on Cygwin/MinGW.)  For another I would have expected the regexp to match
> [FID] not F[ID] as there seems to generally be only one character in
> that position, whose purpose is illuminated by this comment in
> gcc/tree.c:
[...]
> This implies that 'FI' is not valid, or at least not recognised by the
> demangler as significant.

Well, the bug report that prompted this addition:
<http://lists.gnu.org/archive/html/libtool-patches/2008-01/msg00033.html>
<http://lists.gnu.org/archive/html/bug-libtool/2008-01/msg00009.html>
needed F[ID] rather than [FID].  GCC 4.0.0 is used there on AIX.

Did GCC change since then, or is this system-dependent?

Thanks,
Ralf


Reply via email to