Re: gfortran not following deferred initialization rules for get_command_argument

2025-02-02 Thread Steve Kargl
> Summary: It is my opinion from the FORTRAN 2023 spec that the first test > program above should have worked and the additional steps in the second > test program should not have been necessary. Have I misread the spec, is > there something wrong with my code, or have I identified a bug in gfortra

gfortran not following deferred initialization rules for get_command_argument

2025-02-02 Thread Andi McClure
This last week, as an exercise in learning FORTRAN, I attempted to complete a programming puzzle ( https://adventofcode.com/2024/day/4 ) with gfortran. I made a specific decision to target the 2023 standard and *not* the GNU standard. I believe I have found a nonconformance with gfortran 14.2.0 ta