This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for PR tree-optimization/32941, bootstrap comparision failure
- From: Ian Lance Taylor <iant at google dot com>
- To: sje at cup dot hp dot com
- Cc: andreasmeier80 at gmx dot de, dberlin at dberlin dot org, dnovillo at google dot com, gcc-patches at gcc dot gnu dot org
- Date: 13 Aug 2007 10:44:06 -0700
- Subject: Re: Patch for PR tree-optimization/32941, bootstrap comparision failure
- References: <200708131710.KAA05824@hpsje.cup.hp.com>
Steve Ellcey <sje@cup.hp.com> writes:
> 2007-08-13 Steve Ellcey <sje@cup.hp.com>
>
> PR tree-optimization/32941
> * tree-eh.c (struct leh_tf_state): Add goto_queue_map field.
> (goto_queue_cmp): Remove.
> (find_goto_replacement): Change search method.
> (maybe_record_in_goto_queue): Add assert.
> (lower_try_finally): Remove qsort call, add pointer_map_destroy call.
This is OK if it passes testing.
> +#define LARGE_GOTO_QUEUE 2
I think your proposed value of 50 is too high. This is an N squared
algorithm. I would go for something more like 20.
Ian