This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,RFC]: Change entry block and exit block to non-negativenumbers
- From: Jeffrey A Law <law at redhat dot com>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: Daniel Berlin <dberlin at dberlin dot org>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 21 Apr 2005 09:29:06 -0600
- Subject: Re: [PATCH,RFC]: Change entry block and exit block to non-negativenumbers
- Organization: Red Hat, Inc
- References: <1112905143.28651.11.camel@linux.site> <20050420192857.GB4553@frodo.toronto.redhat.com>
- Reply-to: law at redhat dot com
On Wed, 2005-04-20 at 15:28 -0400, Diego Novillo wrote:
> On Thu, Apr 07, 2005 at 04:19:02PM -0400, Daniel Berlin wrote:
>
> > We have a significant amount of code that checks for entry block or exit
> > block because BASIC_BLOCK_INFO doesn't work on them, or adds two (or
> > subtracts INVALID_BLOCK + 1) in random places to try to avoid the
> > negative numbers, or doesn't directly index into an array by bb->index
> > to avoid adding two, etc.
> >
> I don't mind either way. Negative numbers in ENTRY/EXIT is
> annoying at times, but not significantly. If there is no strong
> opposition to this change, I wouldn't mind it.
Likewise.
jeff