This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- From: law at redhat dot com
- To: Steven Bosscher <steven at lr dot tudelft dot nl>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 17 Nov 2003 09:25:00 -0700
- Subject: Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- Reply-to: law at redhat dot com
In message <Pine.HPP.3.91.1031117115419.11610A-200000@dutlhs3.lr.tudelft.nl>, S
teven Bosscher writes:
> This message is in MIME format. The first part should be readable text,
> while the remaining parts are likely unreadable without MIME-aware tools.
> Send mail to mime@docserver.cac.washington.edu for more info.
>
>--2007669943-851401618-1069066612=:11610
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>We can safely use lang_flags for SSA form specific tree nodes.
>
>Bootstrapped-'n'-tested all tree-ssa front ends on i686-pc-linux-gnu,
>OK to commit?
>
>Gr.
>Steven
>
>
>2003-11-17 Steven Bosscher <stevenb@suse.de>
>
> * tree.h (SSA_NAME_OCCURS_IN_ABNORMAL_PHI): Use lang_flag_6
> from tree_common.
> (struct tree_ssa_name): Remove `occurs_in_abnormal_phi' field.
> (PHI_REWRITTEN): Also use lang_flag_6 from tree_common.
> (struct tree_phi_node): Remove `rewritten' field.
I would *much* prefer we take a systematic approach to this problem --
ie, rather than moving one bit around at a time, let's think a little
longer term about the entire scheme for annotations, pass-local flags
and the like. Moving bits into the tree common flags right now is
IMHO premature.
jeff