Re: [Patch, Fortran] Test for implied sequence in structures in common blocks

2016-09-14 Thread Fritz Reese
Committed revision 240134. --- Fritz Reese On Tue, Sep 13, 2016 at 10:52 AM, Jerry DeLisle wrote: > On 09/13/2016 07:33 AM, Fritz Reese wrote: >> >> 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

Re: [Patch, Fortran] Test for implied sequence in structures in common blocks

2016-09-13 Thread Jerry DeLisle
On 09/13/2016 07:33 AM, Fritz Reese wrote: 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 re

Re: [Patch, Fortran] Test for implied sequence in structures in common blocks

2016-09-13 Thread Fritz Reese
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

[Patch, Fortran] Test for implied sequence in structures in common blocks

2016-09-13 Thread Jim MacArthur
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 * gfortran.dg/dec_struc