This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, Fortran] PR 44213: ICE when extending abstract type


Hi all,

the attached patch fixes a small problem with abstract types and is
pretty much obvious (provided I'm reading the standard correctly and
do not overlook anything).

Regtested on x86_64-unknown-linux-gnu. Ok for trunk?

Cheers,
Janus



2010-05-21  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/44213
	* resolve.c (ensure_not_abstract): Allow abstract types with
	non-abstract ancestors.


2010-05-21  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/44213
	* gfortran.dg/abstract_type_7.f03: New.

Attachment: pr44213.diff
Description: Binary data

Attachment: abstract_type_7.f03
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]