This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH,RFC]: Change entry block and exit block to non-negative numbers
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 20 Apr 2005 15:28:57 -0400
- Subject: Re: [PATCH,RFC]: Change entry block and exit block to non-negative numbers
- Organization: Red Hat Canada
- References: <email@example.com>
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.