On Thu, Aug 21, 2025 at 01:42:47PM -0700, Jerry D wrote: > On 8/21/25 12:32 PM, Steve Kargl wrote: > > fortran/121627 found an issue with a NULL pointer dereference > > when the name of the main program conflicts with a symbol in > > iso_fortran_env. The following patch fixes the issue. While > > here I've expanded the error message to hopefully explain the > > issue. > > > > > > 2025-08-21 Steven G. Kargl <ka...@gcc.gnu.org> > > > > PR fortran/121627 > > * gcc/fortran/module.cc (create_int_parameter_array): Avoid NULL > > pointer dereference and enhance error message. > > * gcc/testsuite/gfortran.dg/pr121627.f90: New test > > The patch survived regression testing on x86_64-*-*freebsd. > > > > Hello Steve, > > This looks reasonable to me and OK for trunk. I will commit for you after I > apply and test on Linux x86_64. (Unless you want to commit yourself) > > (I will make sure I git you as author. I forget to do that sometimes.) >
Thanks. -- Steve