This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran,patch] Correctly handle "empty" derived types
- From: Tobias Burnus <burnus at net-b dot de>
- To: François-Xavier Coudert <fxcoudert at gmail dot com>
- 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: Thu, 20 Sep 2007 15:45:24 +0200
- Subject: Re: [gfortran,patch] Correctly handle "empty" derived types
- References: <19c433eb0709180503s5cd88ca9u602dfb1854715313@mail.gmail.com>
François-Xavier Coudert wrote:
> Regtested on x86_64-linux, manually tested on a few examples, will
> come with testcases. OK to commit?
>
OK. For the test case:
You could add, e.g., "type(t) :: a" to the existing
gfortran.dg/used_types_18.f90 (add also a reference to the new PR). This
should be enough for a starter, but I would not oppose to more extensive
tests - either in that file or additional files; nor would I mind to
have a -std=f95 test case.
Tobias