[Bug tree-optimization/83126] [8 Regression] ICE in transform_to_exit_first_loop_alt, at tree-parloops.c:1713
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 21 16:14:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83126
--- Comment #9 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #8)
> Created attachment 43476 [details]
> Tentative patch
>
> (In reply to rguenther@suse.de from comment #3)
>
> > This is the usual "you should not repeat analysis during transform" issue.
> > The vectorizer gets around this by caching relevant scalar evolution
> > but obviously that's difficult if using generic stuff like
> > canonicalize_loop_ivs ...
>
> This patch caches affine_iv info before calling loop_version, and then uses
> that cached info in canonicalize_loop_ivs. This fixes the ICE.
Bootstrap and reg-test on x86_64 succeeded.
Richard, is this approach ok for stage1 and/or stage4?
More information about the Gcc-bugs
mailing list