Re: Speedups/Cleanups: End of GSOC patch collection

2012-08-24 Thread Tom Tromey
> "Dodji" == Dodji Seketeli writes: Dodji> With these changes, the libcpp parts look OK to me if they still Dodji> boostrap post c++ conversion. I am not a maintainer so I a deferring to Dodji> Tom and the other maintainers. I agree. Dodji, thanks for looking at this. Dmitris, thanks for w

Re: Speedups/Cleanups: End of GSOC patch collection

2012-08-20 Thread Dodji Seketeli
Dimitrios Apostolou a écrit: [...] > * include/libiberty.h (XOBDELETE, XOBGROW, XOBGROWVEC, XOBSHRINK) > (XOBSHRINKVEC, XOBFINISH): New type-safe macros for obstack > operations. > (XOBFINISH): Changed to return (T *) instead of T. All callers > updated. > * l

Re: Speedups/Cleanups: End of GSOC patch collection

2012-08-18 Thread Dimitrios Apostolou
Hi, these are the type-safe obstack macros that I use in other patches. As requested, I also changed XOBFINISH to return (T *) and changed all callers, felt a little strange to change (char *) to char. I also replaced all _obstack_begin() calls in libcpp with obstack_init() which is the documen

Re: Speedups/Cleanups: End of GSOC patch collection

2012-08-18 Thread Dimitrios Apostolou
2012-08-18 Dimitrios Apostolou * dwarf2out.c (output_indirect_string): Use ASM_OUTPUT_INTERNAL_LABEL instead of slower ASM_OUTPUT_LABEL. * varasm.c (assemble_string): Don't break string in chunks, this is assembler specific and already done in most versions of

Speedups/Cleanups: End of GSOC patch collection

2012-08-18 Thread Dimitrios Apostolou
Hello list, for the following couple of days I'll be posting under this thread my collection of patches. Unless otherwise mentioned they've been bootstrapped and tested on x86, but with a three-weeks old snapshot, that is pre-C++ conversion. I plan to test again next week with a latest snaps