Thanks, Jerry. Pushed as r16-2189. Note however that s/pr106135/pr106035 is required throughout. I will attend to it tomorrow.
Paul On Mon, 23 Jun 2025 at 19:27, Jerry D <jvdelis...@gmail.com> wrote: > On 6/23/25 9:43 AM, Paul Richard Thomas wrote: > > Hello All, > > > > I was mulling over the F2018 status of gfortran, when I came across the > > additions to the IMPORT statement. This seemed like such a useful > > addition to fortran that I set about an implementation; thinking that > > this would be low hanging fruit. Parsing and checking the > > constraints C897-8100 turned out to be straightforward. C8101 was > > already implemented for F2008 IMPORT. C8102 required a lot more work! > > (Please see the patch for the constraints.) > > > > Steve K got in touch, when he found out that we had been working in > > parallel on the new IMPORT features. Thus encouraged by our exchanges, I > > ground on until the patch reached its present state. I think that the > > ChangeLog is clear enough, even if the patch came out a bit long winded. > > > > Of the existing IMPORT tests, only import3.f90 needed modification by > > setting -std=f2008 because of the change in the wording of the error > > messages. The new test, import12.f90, is complete IMHO but I am open to > > suggestions for additions. I cannot return to working on this until the > > second week of July so you have plenty of time to test and comment. > > > > Regtests fine with x86_64 on FC42. OK for mainline? > > > > Paul > > I do think the new test case is very thorough. I reviewed that patch for > anything glaring and it looks good. I also tried it on some things here > and got what I expected. > > If you and Steve have been in touch I think it is OK for mainline. > > Cheers, > > Jerry >