-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/08/11 07:21, Laurynas Biveinis wrote: > 2011/4/8 Steven Bosscher <stevenb....@gmail.com>: >>> * stmt.c (label_rtx): Allocate RTX in permanent RTL memory. >> >> That looks strange, labels should be function specific, except >> non-local labels. Maybe you can get away with allocating DECL_NONLOCAL >> labels on the permanent rtl obstack? > > That's a good idea, I will try it once things are stable on the branch. > >> Perhaps a third, per-translation-unit obstack is necessary? > > Perhaps. After I finish with permanent rtl obstack, I will measure how > large it gets and if it's worthwhile to split out > per-translation-obstack out of it. And then you'll want a per-statement obstack, then per-expression obstack, and before you know it, GCC looks much like it did 20 years ago.
Sigh. jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNnx1iAAoJEBRtltQi2kC7YJwIAI02Q9vDzyqmvcZGe25jb93A /esh3wWlDSV8TKKwBJkRt6D8PDlRqqaNa5owcEm0iKAYN3lcBo+Q0nYGqoYnN5b1 YVIiajfR809L2NeQOCjVwYpZotQa0MOGuWRrpIRYRCMEOFgljGzwa1utj5qOUXEr s27d0vNnE5ShuJAOt+uJlDU9xgaNTHrCcJBwacKGBBxKRba8nV2wQ9uJPjypoAeX Fza9uJQRqe9rmOheUZsPIthNeZbUUCb0jVzGbivUzpa6gyLQgLry66IvnuAg7BPP Xo2lQh3CDZY3QJnktuiDA201RvPRlxhoA+8jTfMMPi+/NexS3+GrLA9fTC+QkE0= =hQs1 -----END PGP SIGNATURE-----