[Bug tree-optimization/81696] [5/6/7 Regression] ICF ICE on non-local goto

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 13 16:40:00 GMT 2017


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

--- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Wed Sep 13 16:39:36 2017
New Revision: 252341

URL: https://gcc.gnu.org/viewcvs?rev=252341&root=gcc&view=rev
Log:
ICF: properly handle LABEL_DECLs (PR tree-opt/81696).

2017-08-08  Martin Liska  <mliska@suse.cz>

        PR tree-opt/81696
        * ipa-icf-gimple.c (func_checker::compare_cst_or_decl): Consider
        LABEL_DECLs that can be from a different function.
2017-08-08  Martin Liska  <mliska@suse.cz>

        PR tree-opt/81696
        * gcc.dg/ipa/pr81696.c: New test.

Added:
    branches/range-gen2/gcc/testsuite/gcc.dg/ipa/pr81696.c
Modified:
    branches/range-gen2/gcc/ChangeLog
    branches/range-gen2/gcc/ipa-icf-gimple.c
    branches/range-gen2/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list