How about this patch for egcs 1.0.3?
H.J. Lu
hjl@lucon.org
Sun Apr 19 08:38:00 GMT 1998
This patch
Sun Mar 15 15:38:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* c-typeck.c: Collect pending initializers in AVL tree instead of list.
(add_pending_init, pending_init_member): New functions.
(output_init_element): Use them.
(output_pending_init_elements): Rewritten to exploit AVL order.
speeds up the big array initialization quite a lot. There are many
big arrays in glibc 2. It would be nice to see this patch in 1.0.3.
Please keep in mind that egcs 1.0.x may be the default C compiler for
many people in a production system at least for the next few months.
I will use egcs 1.1 to build a complete Linux system to see how it
works. But I won't use egcs 1.1 to build a complete Linux production
system and distribute it. It is just too risky to me.
Thanks.
H.J.
More information about the Gcc
mailing list