[Bug tree-optimization/88107] [7/8/9 Regression] ICE in find_outermost_region_in_block, at tree-cfg.c:7157

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 1 08:43:00 GMT 2019


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb  1 08:43:02 2019
New Revision: 268444

URL: https://gcc.gnu.org/viewcvs?rev=268444&root=gcc&view=rev
Log:
        PR tree-optimization/88107
        * tree-cfg.c (find_outermost_region_in_block): Add ALL argument,
        instead of assertion that eh_region_outermost is non-NULL, if it
        is NULL, set *ALL to true and return NULL.
        (move_sese_region_to_fn): Adjust caller, if all is set, call
        duplicate_eh_regions with NULL region.

        * gcc.dg/gomp/pr88107.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/gomp/pr88107.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c


More information about the Gcc-bugs mailing list