[Patch, Fortran] PR 39692: f95: conflict between EXTERNAL and POINTER

Janus Weil janus@gcc.gnu.org
Thu Apr 9 13:50:00 GMT 2009


Hi all,

here is the simple fix for PR 39692 (actually pretty close to
obvious). Regression-tested on x86_64-unknown-linux-gnu. Ok for trunk?

Cheers,
Janus


2009-04-09  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/39692
	* symbol.c (check_conflict): Reject procedure pointers for -std=f95.


2009-04-09  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/39692
	* gfortran.dg/proc_ptr_14.f90: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr39692.diff
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20090409/fd32a921/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proc_ptr_14.f90
Type: text/x-fortran
Size: 932 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20090409/fd32a921/attachment-0001.bin>


More information about the Fortran mailing list