diff options
| author | Paul Thomas <pault@gcc.gnu.org> | 2013-01-13 08:57:46 +0000 | 
|---|---|---|
| committer | Paul Thomas <pault@gcc.gnu.org> | 2013-01-13 08:57:46 +0000 | 
| commit | 899d52c6e21ab11ef716816a433c4c583e0052d1 (patch) | |
| tree | 7af314adbc7890bb75e81fb6509028474e01ecd9 /libcpp/include/cpplib.h | |
| parent | 8816ac704c531d14de865a9f86098edac06554e7 (diff) | |
| download | gcc-899d52c6e21ab11ef716816a433c4c583e0052d1.zip gcc-899d52c6e21ab11ef716816a433c4c583e0052d1.tar.gz gcc-899d52c6e21ab11ef716816a433c4c583e0052d1.tar.bz2 | |
re PR fortran/54286 (Accepts invalid proc-pointer assignments involving proc-ptr function result)
2013-01-13  Paul Thomas  <pault@gcc.gnu.org>
	PR fortran/54286
	* expr.c (gfc_check_pointer_assign): Ensure that both lvalue
	and rvalue interfaces are presented to gfc_compare_interfaces.
	Simplify references to interface names by using the symbols
	themselves. Call gfc_compare_interfaces with s1 and s2 inter-
	changed to overcome the asymmetry of this function. Do not
	repeat the check for the presence of s1 and s2.
2013-01-13  Paul Thomas  <pault@gcc.gnu.org>
	PR fortran/54286
	* gfortran.dg/proc_ptr_result_8.f90 : New test.
From-SVN: r195133
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions
