[Bug tree-optimization/79740] [7 Regression] ICE on -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in VN_INFO_GET, at tree-ssa-sccvn.c:407 })

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 28 15:33:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79740

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Feb 28 15:32:24 2017
New Revision: 245780

URL: https://gcc.gnu.org/viewcvs?rev=245780&root=gcc&view=rev
Log:
2017-02-28  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/79740
        * tree-ssa-sccvn.c (vn_nary_op_insert_into): Allow redundant
        inserts.
        (visit_nary_op): Insert the nary into the hashtable if we
        pattern-matched sth.
        * tree-ssa-pre.c (eliminate_insert): Robustify.

        * gcc.dg/torture/pr79740.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr79740.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-pre.c
    trunk/gcc/tree-ssa-sccvn.c


More information about the Gcc-bugs mailing list