[Bug middle-end/98183] [8/9/10/11 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3972

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 11 19:37:41 GMT 2020


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 49748
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49748&action=edit
gcc11-pr98183.patch

The problem is that the data regions allow exceptions to be thrown, so #pragma
omp region for it is problematic.  But I think we do everything for the end of
the region by putting the end calls into finally during gimplification and so
we should just treat those regions post omp-lowering as standalone directives
like e.g. target update is.


More information about the Gcc-bugs mailing list