This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] Test for implied sequence in structures in common blocks
- From: Fritz Reese <fritzoreese at gmail dot com>
- To: Jim MacArthur <jim dot macarthur at codethink dot co dot uk>
- Cc: fortran at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 13 Sep 2016 10:33:49 -0400
- Subject: Re: [Patch, Fortran] Test for implied sequence in structures in common blocks
- Authentication-results: sourceware.org; auth=none
- References: <ebfe7141-74b7-3633-e631-7f175a6776b4@codethink.co.uk>
Jim,
While the test exhibits no particular regression, IMVHO I don't see
any reason not to add it. None of my previous testcases include a
STRUCTURE within a COMMON block so this would certainly tickle some
new code paths, which could expose a future regression.
I'll give this through the weekend or so to see if any official
maintainers have a comment otherwise I wouldn't mind committing it as
trivial.
---
Fritz Reese
On Tue, Sep 13, 2016 at 9:51 AM, Jim MacArthur
<jim.macarthur@codethink.co.uk> wrote:
> Hi, I'd like to contribute this small test. I have legacy code which uses
> STRUCTURE statements in common blocks, and was happy to find Fritz's DEC
> support assumes ordering in STRUCTUREs, as the Oracle compiler does.
>
> Jim MacArthur
>
> --
>
> 2016-09-13 Jim MacArthur <jim.macarthur@codethink.co.uk>
>
> * gfortran.dg/dec_structure_14.f90: New testcase.
>