[Bug c++/85134] [8 Regression] ICE with invalid constexpr in 'shared' OpenMP clause

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 3 10:21:00 GMT 2018


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 43817
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43817&action=edit
gcc8-pr85134.patch

Untested fix.  The problem is in the early return from cp_finish_decl, we don't
emit then the DECL_EXPR that the OpenMP code relies on for VLAs.


More information about the Gcc-bugs mailing list