[Bug fortran/95500] Segfault compiling extra interface on intrinsic
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 5 18:46:47 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95500
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:4b3ea558da6479dabe5841bcb0f6bad3f7fea858
commit r10-8250-g4b3ea558da6479dabe5841bcb0f6bad3f7fea858
Author: Harald Anlauf <anlauf@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 <kargl@gcc.gnu.org>
Harald Anlauf <anlauf@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.
(cherry picked from commit 8c727bdf4acf28c8315b119a1c8f6d6af745c2af)
More information about the Gcc-bugs
mailing list