This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] basic-block.h: Remove PROP_EQUAL_NOTES.
- From: Jeffrey A Law <law at redhat dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Apr 2005 10:20:55 -0600
- Subject: Re: [patch] basic-block.h: Remove PROP_EQUAL_NOTES.
- Organization: Red Hat, Inc
- References: <20050415.101031.112311753.kazu@cs.umass.edu>
- Reply-to: law at redhat dot com
On Fri, 2005-04-15 at 10:10 -0400, Kazu Hirata wrote:
> Hi,
>
> Attached is a patch to remove PROP_EQUAL_NOTES as it is unused.
>
> No code uses PROP_EQUAL_NOTES in any assignment or argument passing.
> Note that PROP_EQUAL_NOTES is not a part of aggregate flags like
> PROP_FINAL or PROP_POSTRELOAD, so "flags & PROP_EQUAL_NOTES" always
> evaluates to 0.
>
> The patch simply removes the code that depends on PROP_EQUAL_NOTES.
>
> Tested on i686-pc-linux-gnu. OK to apply?
>
> p.s.
> If you think these flag valus should be compressed to fill a "hole"
> created by this patch, I would like to do that with a separate patch.
> A pre-approval would be greatly appreciated.
>
> Kazu Hirata
>
> 2005-04-15 Kazu Hirata <kazu@cs.umass.edu>
>
> * basic-block.h (PROP_EQUAL_NOTES): Remove.
> * flow.c (propagate_one_insn): Don't use PROP_EQUAL_NOTES.
This is fine. Please go ahead and install.
Consider the patch to fill in the gap in the values pre-approved
as well.
Thanks,
Jeff