Bug 125515 - [meta-bug] Multiple compiler errors when building fiats and formal packages
Summary: [meta-bug] Multiple compiler errors when building fiats and formal packages
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 17.0
: P3 normal
Target Milestone: ---
Assignee: Jerry DeLisle
URL:
Keywords: meta-bug
Depends on: 125430 125481 125527 125528 125529 125530 125531 125532 125534 125535 125650
Blocks:
  Show dependency treegraph
 
Reported: 2026-05-30 19:43 UTC by Jerry DeLisle
Modified: 2026-08-18 02:52 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2026-05-31 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry DeLisle 2026-05-30 19:43:30 UTC
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
Comment 1 Jerry DeLisle 2026-05-31 01:18:38 UTC
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.
Comment 2 Jerry DeLisle 2026-05-31 03:48:46 UTC
Item 10 in comment #2 is now PR125481.
Comment 3 Jerry DeLisle 2026-06-21 02:57:52 UTC
125533 is the last PR needed to close this. Held up in review.
Comment 4 Jerry DeLisle 2026-08-17 18:48:59 UTC
I am going to close this one. 125533 is still open, I have never been given permission on that fix.