This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] for "Re: Compilation at -O3 Still Broken"
On Tue, Jun 01, 2004 at 07:51:39PM +0200, Steven Bosscher wrote:
> + for_each_eh_region (void (*callback) (struct eh_region *))
> + {
> + int i, n = cfun->eh->last_region_number;
> + for (i = 1; i <= n; ++i)
> + {
> + struct eh_region *region = cfun->eh->region_array[i];
> + (*callback) (region);
Regions do get deleted. Need to test for region non-null before
invoking the callback. Otherwise ok.
r~