[PATCHv3, gfortran] Escalate failure when Hollerith constant to real conversion fails [PR103628]

2023-03-07 Thread HAO CHEN GUI via Fortran
Hi, The patch escalates the failure when Hollerith constant to real conversion fails in native_interpret_expr. It finally reports an "Cannot simplify expression" error in do_simplify method. The patch of pr95450 added a verification for decoding/encoding checking in native_interpret_expr. nati

Re: [Patch, fortran] PR37336 finalization

2023-03-07 Thread Thomas Koenig via Fortran
Paul, first of all, thank you very much indeed for the hard work you put into this! This is a great step for gfortran. I can hurry this along to get the patch into 13-branch or I can wait until 14-branch opens. Personally, I think that this fixes so many bugs, and makes the compiler so much

Re: [Patch, fortran] PR37336 finalization

2023-03-07 Thread Steve Kargl via Fortran
On Tue, Mar 07, 2023 at 03:58:32PM +0100, Thomas Koenig via Fortran wrote: > Paul, > > first of all, thank you very much indeed for the hard work you put into > this! This is a great step for gfortran. Ditto**2 > > I can hurry this along to get the patch > > into 13-branch or I can wait until 1

F77 indexed file support

2023-03-07 Thread Roland Hughes via Fortran
All, I'm getting back into Fortran after many years away and was going to start with my goto kick the tires application. Basically the lottery tracking system found in this book. https://www.theminimumyouneedtoknow.com/app_book.html The first cut was Fortran 77 on the VAX. There we could cre

Re: F77 indexed file support

2023-03-07 Thread Thomas Koenig via Fortran
Hi Roland,  210  OPEN (UNIT=K_DRAW_CHAN, 1    FILE=DRAWING_DATA, 2    STATUS='OLD', 3    ORGANIZATION='INDEXED', I'd never heard of that one up to now. 4    ACCESS='KEYED', 5    RECORDTYPE='FIXED', 6    FORM='UNFORMATTED', 7 

Re: F77 indexed file support

2023-03-07 Thread Arjen Markus via Fortran
I have never worked much with VAXes, but I do remember that VAX used a file system where you made a new version of a file and the older versions were automatically kept. I guess that is the purpose of the INDEXED organisation. It is not so much a limitation of gfortran that it does not support this

Re: [Patch, fortran] PR37336 finalization

2023-03-07 Thread Paul Richard Thomas via Fortran
Hi Thomas and Steve, Last night, I scoped out the work required to get the patch ready to commit. Sorting out the testcases will be the main load since they have grown "organically". I propose to change over to one test for each paragraph of F2018 7.5.6.2/7.5.6.3 and to verify them against the oth

Re: F77 indexed file support

2023-03-07 Thread Bernhard Reutner-Fischer via Fortran
On 7 March 2023 23:18:58 CET, Roland Hughes via Fortran wrote: [ snip namelist IO ] >Btw, is there a "search" utility for the archives or do I have to pull down >all of the zip files, unzip into directory, and grep to look for stuff like >this? I'm guessing it has come up before. Indeed we h