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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:33a7a93218b1393d0135e3c4a9ad9ced87808f5e

commit r11-6950-g33a7a93218b1393d0135e3c4a9ad9ced87808f5e
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Jan 28 10:13:46 2021 +0100

    PR fortran/86470 - ICE with OpenMP, class(*) allocatable

    gfc_call_malloc should malloc an area of size 1 if no size given.

    gcc/fortran/ChangeLog:

            PR fortran/86470
            * trans.c (gfc_call_malloc): Allocate area of size 1 if passed
            size is NULL (as documented).

    gcc/testsuite/ChangeLog:

            PR fortran/86470
            * gfortran.dg/gomp/pr86470.f90: New test.

Reply via email to