This is the mail archive of the gcc@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]

PHI_NODE memory reduction, WAS: Re: RFC: GIMPLE tuples. Design and implementation proposal


On 4/10/07, Andrew Pinski <pinskia@gmail.com> wrote:
On 4/10/07, Andrew Pinski <pinskia@gmail.com> wrote:
> Here is the quick patch (thanks to the work done for gimple tuple)
> which does this, removes the unneeded type from phi nodes.  I have not
> tested it except for a quick test on some small testcases so there
> might be more places which use TREE_CHAIN instead of PHI_CHAIN.

This patch has one problem, the GC issue with chain_next and
lang_tree_node, this problem is not hard to fix.

And here is that patch still not fully test except this time compiling some simple C++ code and without ICEing in the gc collect :).

Thanks,
Andrew Pinski

Attachment: phinode.diff.txt
Description: Text document


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