[PATCH] PR/101135 - Load of null pointer when passing absent assumed-shape array argument for an optional dummy argument

2022-01-29 Thread Harald Anlauf via Fortran
Dear Fortranners, compiling with -fsanitize=undefined shows that we did mishandle the case where a missing optional argument is passed to another procedure. Besides the example given in the PR, the existing testcase fortran.dg/missing_optional_dummy_6a.f90 fails with: gcc/testsuite/gfortran.dg/m

[PATCH] fortran: Unshare associate var charlen [PR104228]

2022-01-29 Thread Mikael Morin
Hello, the attached patch is a fix for PR104228. Even if simple, I wouldn’t call it obvious, as it’s involving character length and associate, so I don’t mind some extra review eyes. Tested on x86_64-pc-linux-gnu. Ok for master/11/10/9?From 0819226560387b2953622ee3d5d051a35606d504 Mon Sep 17 0

Re: gfortran run on 64bit Mac ?

2022-01-29 Thread Iain Sandoe via Fortran
Hello David, > On 29 Jan 2022, at 11:14, dmainprice via Fortran wrote: > gfortran run on 64bit Mac ? Yes, gfortran has been running on (x86_64) 64bit Mac since macOS 10.6. > Any suggestions will F77 code run ? if it will compile with gfortran, then you could expect it to run, cheers Iain >

gfortran run on 64bit Mac ?

2022-01-29 Thread dmainprice via Fortran
Hello every one, gfortran run on 64bit Mac ? Any suggestions will F77 code run ? all the best and happy year David Mainprice