Skip to content
Snippets Groups Projects
Commit e505f749 authored by Harald Anlauf's avatar Harald Anlauf
Browse files

Fortran: avoid NULL pointer dereference on bad EQUIVALENCEs [PR107559]

gcc/fortran/ChangeLog:

	PR fortran/107559
	* resolve.cc (resolve_equivalence): Avoid NULL pointer dereference
	while emitting diagnostics for bad EQUIVALENCEs.

gcc/testsuite/ChangeLog:

	PR fortran/107559
	* gfortran.dg/pr107559.f90: New test.
parent f94c2eff
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment