]> gcc.gnu.org Git - gcc.git/commit
backport: re PR tree-optimization/88107 (ICE in find_outermost_region_in_block, at...
authorJakub Jelinek <jakub@redhat.com>
Fri, 30 Aug 2019 11:35:08 +0000 (13:35 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 30 Aug 2019 11:35:08 +0000 (13:35 +0200)
commit231ab4cd97da6d146bd0a6659472c80342bb0e1b
treea6e7d49e57290b7ba4bcf0e2ef701cea5a5ff417
parent36536c8b85bd53137c3241110ccb75bcaad7129a
backport: re PR tree-optimization/88107 (ICE in find_outermost_region_in_block, at tree-cfg.c:7157)

Backported from mainline
2019-02-01  Jakub Jelinek  <jakub@redhat.com>

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.

From-SVN: r275095
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr88107.c [new file with mode: 0644]
gcc/tree-cfg.c
This page took 0.058502 seconds and 5 git commands to generate.