Skip to content
Snippets Groups Projects
Commit 5bd66483 authored by Andre Vehreschild's avatar Andre Vehreschild
Browse files

Fortran: Prevent ICE when getting caf-token from abstract type [PR77872]

	PR fortran/77872

gcc/fortran/ChangeLog:

	* trans-expr.cc (gfc_get_tree_for_caf_expr): Pick up token from
	decl when it is present there for class types.

gcc/testsuite/ChangeLog:

	* gfortran.dg/coarray/class_1.f90: New test.
parent ef605e10
No related branches found
No related tags found
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