This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

libstdc++/9828 (was Re: zero-alloc cache)


Jerry Quinn writes:
 >  > I'm also having second thoughts about this approach to locale caching in
 >  > general. I've implemented __has_cache/__use_cache and while it's not as fast
 >  > as the __locale_cache code as present, it's still on par with 2.95 and
 >  > it seems like a better way to go.
 >  > 
 >  > Awful lot of "I's" in the above text. Your honest feedback is appreciated.
 > 
 > I'd rather see it in there than not.  For sure, the ABI compatibility
 > puts some limitations on what we can do.  And I agree that the pword
 > method has some unpleasant aspects to it.  Also, we need something
 > like the __has_cache approach to deal with the problem pointed out by
 > Petur in this thread:
 > http://gcc.gnu.org/ml/libstdc++/2003-04/msg00023.html

I actually see that PR 9828 is still broken on 3.3, even with the
locale cache scrapped.

Ouch!  I just tried to look at it in gdb, and I can no longer use gdb
within the library itself.  I was using the approach of rebuilding
just the library with:

make clean
make CXXFLAGS=-g3 install

after which i could step into library code.  After updating, I can't
seem to do it anymore.

Anyone else having similar difficulty now?

Jerry


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