]> gcc.gnu.org Git - gcc.git/commit
PR fortran/93423 - ICE on invalid with argument list for module procedure
authorHarald Anlauf <anlauf@gmx.de>
Thu, 2 Jul 2020 18:48:16 +0000 (20:48 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Thu, 2 Jul 2020 18:48:16 +0000 (20:48 +0200)
commitb88744905a46be44ffa3c57d46080f601ae832b8
treefd62b1c2cf23187e8ee85af5ca08282716a35638
parentd9fb6f2b4f1321b059807ff6073156f07d9d376b
PR fortran/93423 - ICE on invalid with argument list for module procedure

When recovering from an error, a NULL pointer dereference could occur.
Check for that situation and punt.

gcc/fortran/
PR fortran/93423
* resolve.c (resolve_symbol): Avoid NULL pointer dereference.
gcc/fortran/resolve.c
gcc/testsuite/gfortran.dg/pr93423.f90 [new file with mode: 0644]
This page took 0.060502 seconds and 5 git commands to generate.