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

--- Comment #3 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:8c727bdf4acf28c8315b119a1c8f6d6af745c2af

commit r11-953-g8c727bdf4acf28c8315b119a1c8f6d6af745c2af
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Jun 4 21:00:33 2020 +0200

    PR fortran/95500 - Segfault compiling extra interface on intrinsic

    Converting an expression so that it can be passed by reference could
    result in a NULL pointer dereference.

    2020-06-04  Steven G. Kargl  <ka...@gcc.gnu.org>
                Harald Anlauf  <anl...@gmx.de>

    gcc/fortran/
            PR fortran/95500
            * trans-expr.c (gfc_conv_expr_reference): Do not dereference NULL
            pointer.

    gcc/testsuite/
            PR fortran/95500
            * gfortran.dg/pr95500.f90: New test.

Reply via email to