On Wed, 23 Nov 2022, Jakub Jelinek via Gcc-patches wrote:

> Hi!
> 
> The complex multiplications result in deeply nested set of many SAVE_EXPRs,
> which takes even on fast machines over 5 minutes to walk.
> This patch fixes that by using walk_tree_without_duplicates where it is
> instant.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
> 
> 2022-11-23  Andrew Pinski  <apin...@marvell.com>
>           Jakub Jelinek  <ja...@redhat.com>
> 
>       PR c/107127
>       * c-gimplify.cc (c_genericize): Use walk_tree_without_duplicates
>       instead of walk_tree for c_genericize_control_r.
> 
>       * gcc.dg/pr107127.c: New test.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to