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]

Re: [PATCH] Fix PR target/16304: AIX 4.x forward reference proble


John David Anglin wrote:
* The lists of pending declarations should in fact be Nathan's vectors, using a tree_pair, rather than TREE_LISTs.

I'd thought of using Nathan's vectors but this support is only present in 4.0. I'm trying a varray implementation using a tree_pair. I used TREE_LISTs because the GC issues were simple.

For 3.4, I think a varray, or even a TREE_LIST, would be OK. For mainline, though, we shouldn't be using TREE_LISTs for things like this, now that we have better technology.


Thanks,

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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