[PATCH] Add testcase for PR61033

Richard Biener richard.guenther@gmail.com
Mon Feb 22 13:40:00 GMT 2016


On Sat, Feb 20, 2016 at 6:01 PM, Maxim Kuvyrkov
<maxim.kuvyrkov@linaro.org> wrote:
> This patch adds a testcase for PR61033 [1].
>
> The bug is about compiler going into infinite loop while solving data-flow in vt_find_locations on arm-* targets.  The issue in fixed in GCC 5 and later by Richard B.'s r211624 [2].

Well, made latent I would guess.

> The bug affects GCC 4.8 and 4.9, but is unlikely to be fixed there.
>
> This patch adds a regression test to make sure we catch the problem should it re-appear again.
>
> Tested on arm-linux-gnueabihf and x86_64-linux-gnu.
>
> OK to apply?

Ok.

Thanks,
Richard.

>
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61033
>
> [2] http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=211625
> 2014-06-13  Richard Biener  <rguenther@suse.de
>
>         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
>         Rewrite to propagate the VN result into all uses where
>         possible and to remove stmts becoming dead because of that.
>         (eliminate): Generalize stmt removal handling, remove in
>         reverse dominator order to support proper debug stmt
>         generation.  Update stmts before removing stmts.
>         * tree-ssa-propagate.c (propagate_tree_value): Remove
>         bogus assert.
>
> --
> Maxim Kuvyrkov
> www.linaro.org
>
>



More information about the Gcc-patches mailing list