[Patch, Fortran] PR 40089: Public type with public component which has a private type

Janus Weil janus@gcc.gnu.org
Mon May 11 12:45:00 GMT 2009


Hi all,

this small patch fixes a close-to-obvious bug in resolve.c
(resolve_fl_derived), which triggered a rejects-valid error with
procedure pointer components. For details see the PR. Regtested on
x86_64-unknown-linux-gnu. Ok for trunk?

Cheers,
Janus


2009-05-11  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/40089
	* resolve.c (resolve_fl_derived): Only return FAILURE if
	gfc_notify_std fails.


2009-05-11  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/39996
	* gfortran.dg/proc_ptr_comp_7.f90: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr40089.diff
Type: text/x-patch
Size: 1977 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090511/14a8e1b6/attachment.bin>


More information about the Gcc-patches mailing list