This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation at -O3 Still Broken
On Monday 31 May 2004 23:29, Steven Bosscher wrote:
> Index: except.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/except.c,v
> retrieving revision 1.271
> diff -c -3 -p -r1.271 except.c
> *** except.c 30 May 2004 07:12:48 -0000 1.271
> --- except.c 31 May 2004 21:12:52 -0000
> *************** for_each_eh_label_1 (void **pentry, void
> *** 2766,2771 ****
> --- 2766,2784 ----
> (*callback) (entry->label);
> return 1;
> }
> +
> + /* Invoke CALLBACK for every exception region in the current function.
> */ +
> + void
> + for_each_eh_region (void (*callback) (struct eh_region *))
> + {
> + int i;
> + for (i = 0; i < cfun->eh->last_region_number; ++i)
Grrr.
Make that
+ for (i = 1; i < cfun->eh->last_region_number; ++i)
There is no exception region 0, it seems.
> + {
> + struct eh_region *region = cfun->eh->region_array[i];
> + (*callback) (region);
> + }
> + }