Skip to content
Snippets Groups Projects
Commit b49a3de7 authored by Tobias Schlüter's avatar Tobias Schlüter Committed by Tobias Schlüter
Browse files

trans-expr.c (gfc_conv_variable): POINTER results don't need f2c calling conventions.

fortran/
	* trans-expr.c (gfc_conv_variable): POINTER results don't need f2c
	calling conventions.  Look at sym instead of sym->result.
	* trans-types.c (gfc_sym_type): Remove workaround for frontend bug.
	Remove condition which is always false with workaround removed.
	(gfc_return_by_reference): Always look at sym, never at sym->result.
testsuite/
	* gfortran.dg/f2c_7.f90: New test.

From-SVN: r100857
parent 607fb860
No related branches found
No related tags found
No related merge requests found
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