This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, libfortran] Adapt handling of derived types to new dtype
- From: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 30 Jan 2018 18:28:48 +0200
- Subject: Re: [patch, libfortran] Adapt handling of derived types to new dtype
- Authentication-results: sourceware.org; auth=none
- References: <65ed9916-5cb9-1377-d188-e95f1a3d1a4c@netcologne.de>
On Mon, Jan 29, 2018 at 11:51 PM, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hello world,
>
> this patch fixes the library issues left over from Paul's rank-15 patch
> by removing the GFC_DTYPE_DERIVED_* macros and (mostly) handling these
> cases separately.
>
> The problem was with folding the type and size into a single word. For
> all normal data types, this is perfectly fine, because the sizes are
> known to fit. For derived types or characters, there could be a problem
> if a user specified a very large size.
>
> Regression-tested. OK for trunk?
Ok, thanks.
--
Janne Blomqvist