This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Useless code in cse.c
- To: Bernd Schmidt <bernds at cygnus dot co dot uk>
- Subject: Re: Useless code in cse.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 11 Nov 1999 08:05:51 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.LNX.4.10.9911111239340.2054-100000@biriani.cygnus.co.uk>you
write:
> Currently, cse.c keeps track of 'in_struct' flags, but never uses that
> information.
>
> Bernd
>
> * cse.c (hash_arg_in_struct): Delete.
> (struct table_elt): Delete elt in_struct.
> (struct set): Delete elt src_in_struct.
> (merge_equiv_classes): Don't set either hash_arg_in_struct or
> the corresponding in_struct elts.
> (canon_hash): Likewise.
> (safe_hash): Likewise.
> (find_best_addr): Likewise.
> (record_jump_cond): Likewise.
> (cse_insn): Likewise.
This is fine. Please install it.
Thanks,
jeff