During a recent investigation of work-arounds used in the fiats and formal packages several gfortran failures were identified. I am opening this PR to track these and capture the fixes. I will post additional information as I can gather it. Some of these found have existing PR numbers but not all. I will reference existing PRs when identified. (approximately 14 bugs were identified.) For reference the packages are: https://github.com/BerkeleyLab/fiats and https://github.com/BerkeleyLab/formal
Here is a list of pending fixes to bugs identified. 1) wrong-code for implied-do with allocatable-component DT and transformational intrinsic 2) ALLOCATE of parameterized derived-type array initializes only first element 3) CPP stringify emits \" for double-quotes in Fortran mode 4) DO CONCURRENT wrong-code when ASSOCIATE body uses shadow iterators 5) inferred-type ASSOCIATE data-component access shadowed by TBP 6) ASSOCIATE with contained-function selector and type-bound calls 7) ICE in check_default_none_expr for DO CONCURRENT with ASSOCIATE 8) ASSOCIATE selectors with type-bound UDO expressions 9) ICE with procedure pointer declared in BLOCK 10) wrong generic resolution when actual argument is a procedure pointer 11) submodule host association for parent module internal procedures I have tested patches for each of these.
Item 10 in comment #2 is now PR125481.
125533 is the last PR needed to close this. Held up in review.
I am going to close this one. 125533 is still open, I have never been given permission on that fix.