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.

Reply via email to