https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87645
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Status|UNCONFIRMED |ASSIGNED
Known to work| |6.4.0, 9.0
Keywords| |needs-bisection
Last reconfirmed| |2018-10-19
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot
gnu.org
Ever confirmed|0 |1
Summary|gcc hangs up on |[7/8 Regression] gcc hangs
|vr_values::vrp_visit_assign |up on
|ment_or_call |vr_values::vrp_visit_assign
| |ment_or_call
Target Milestone|--- |7.4
Known to fail| |7.1.0, 7.3.1, 8.1.0, 8.2.1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Seems to work on trunk. Also is slow in GCC 7.
I will take a look.
Let's assume trunk is affected as well unless confirmed it was really fixed.
On the GCC 8 branch this seems to take considerable time in
Run till exit from #0 0x000000000158a43c in gimple_simplify_PLUS_EXPR (
res_code=0x7ffffffd56d0, res_ops=0x7ffffffd56b0, seq=0x0,
valueize=0x143801e <vrp_valueize_1(tree)>, code=..., type=0x7ffff6892690,
op0=0x7ffff6a36798, op1=0x7ffff6a3f1f8) at gimple-match.c:30626
so it looks like a pattern oscillation issue to me (eventually it will finish
...).
On trunk we've installed a "depth" limit with
2018-07-12 Richard Biener <[email protected]>
* tree-ssa-sccvn.c (mprts_hook_cnt): Remove.
(vn_lookup_simplify_result): Remove recursion limit applied
here.
(vn_nary_build_or_lookup_1): Adjust.
(try_to_simplify): Likewise.
* gimple-match-head.c (gimple_resimplify1): Instead apply one
here.
(gimple_resimplify2): Likewise.
(gimple_resimplify3): Likewise.
(gimple_resimplify4): Likewise.