This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Cleanup some rtl cruft
- From: Steven Bosscher <stevenb at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 11 Nov 2004 00:39:39 +0100
- Subject: Re: Cleanup some rtl cruft
- Organization: SUSE Labs
- References: <200411102242.58810.stevenb@suse.de>
On Wednesday 10 November 2004 22:42, Steven Bosscher wrote:
> * except.c (duplicate_eh_region_1, duplicate_eh_region_2,
> duplicate_eh_regions): Remove.
> * except.h (duplicate_eh_regions): Remove prototype.
> * integrate.c (get_label_from_map, copy_rtx_and_substitute,
> global_const_equiv_varray): Remove.
> * integrate.h (get_label_from_map, copy_rtx_and_substitute,
> global_const_equiv_varray, set_label_in_map): Remove prototypes,
> extern declaration, and #define.
> (MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove.
> (struct inline_remap): Remove.
> * varray.c (struct element): Remove entry for const_equiv_data.
> * varray.h (struct const_equiv_data): Remove.
> (enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove.
> (union varray_data_tag) <const_equiv>: Remove.
> (VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV,
> VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove.
Two people mentioned that those duplicate_eh_region* functions are
used for the CFG inliner. I know. But those functions are slightly
different. We can remove the mainline, RTL based versions and clean
up integrate.[ch], and later when we merge the cfg inliner we can
put the new versions back.
Gr.
Steven