This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/24867] many N^2 loops in objc frontend
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2005 05:59:33 -0000
- Subject: [Bug objc/24867] many N^2 loops in objc frontend
- References: <bug-24867-6809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from sabre at nondot dot org 2005-11-15 05:59 -------
As I mentioned, there are *several* places where chainon is used where it
shouldn't be. For example, several structs are built, with chainon being used
as an expensive "push_back". It would be better to build the structs
backwards, then use nreverse.
-Chris
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24867