This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: small problem in flow.c
- To: Herman ten Brugge <Haj dot Ten dot Brugge at net dot HCC dot nl>
- Subject: Re: small problem in flow.c
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 13 Oct 1999 10:35:33 -0700
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <199908162151.WAA20523@net.HCC.nl>
On Mon, Aug 16, 1999 at 10:51:36PM +0100, Herman ten Brugge wrote:
> I copied some lines from free_basic_block_vars to find_basic_blocks. I hope
> this is the correct patch cause I don't really know how flow works.
This doesn't look correct. It's hard to say for sure because you
didn't give an indication of where the problem showed up.
> + ENTRY_BLOCK_PTR->aux = NULL;
> + EXIT_BLOCK_PTR->aux = NULL;
These bits are pass-specific. Could be that someone didn't
init them properly before running some pass.
> + ENTRY_BLOCK_PTR->global_live_at_end = NULL;
> + EXIT_BLOCK_PTR->global_live_at_start = NULL;
These bits should be set up in allocate_bb_life_data, which
is called during life_analysis. And before that, we shouldn't
have been looking at these fields.
r~