This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR20889 - Bad pointer types in derived type constructors.
- From: Tobias dot Schlueter at Physik dot Uni-Muenchen dot DE
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: patch <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Tue, 20 Dec 2005 19:31:42 +0100
- Subject: Re: [Patch, fortran] PR20889 - Bad pointer types in derived type constructors.
- References: <43A84A70.3090801@wanadoo.fr>
Quoting Paul Thomas <paulthomas2@wanadoo.fr>:
> 2005-12-20 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/20889
> *resolve.c(resolve_structure_cons): Do not attempt to convert
> the type of mismatched pointer type components, except when
> the constructor component is BT_UNKNOWN; emit error instead.
>
> 2005-12-20 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/20889
> *gfortran.dg/pointer_component_type_1.f90: New test.
Ok.
- Tobi
:REVIEWMAIL: