Skip to content
Snippets Groups Projects
Commit c0134b73 authored by Tobias Burnus's avatar Tobias Burnus
Browse files

Fortran: Fix gfc_maybe_dereference_var [PR104430][PR99585]

	PR fortran/99585
	PR fortran/104430

gcc/fortran/ChangeLog:

	* trans-expr.cc (conv_parent_component_references): Fix comment;
	simplify comparison.
	(gfc_maybe_dereference_var): Avoid d referencing a nonpointer.

gcc/testsuite/ChangeLog:

	* gfortran.dg/class_result_10.f90: New test.
parent 0af37ad4
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