This is the mail archive of the gcc-patches@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]

[v3] typelist::detail::type_to_type removal


This removes some cruft in the typelist implementation, which should
make this code easier to understand. (Or, possible to understand.) It
should now be possible to remove the duplicate type_to_type in
pb_ds/detail/type_utils.h.

While debugging this change to the performance testsuite, I noticed
that the previously checked in throw_allocator was not pretty-printing
memory allocations correctly, and that the facilities for checking
allocated memory by a specified "label" were not present. So, I added
them. Mostly, I had to do this because -O0 is not working now (?) and
or giving different results from -O1 and -O2,  and gdb was useless with
this highly templatized code.

-benjamin

tested x86/linux
tested x86/linux abi
tested x86/linux performance

Attachment: p.20060927.bz2
Description: BZip2 compressed data


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