https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83515
--- Comment #14 from DIL <liakhdi at ornl dot gov> --- (In reply to anlauf from comment #13) > (In reply to Dominique d'Humieres from comment #12) > > > Sorry, I am confused, I think Comment 1 already has such a reduced test. > > > At least the what it says there ... > > > > It is a reduced test for the ICE (as are further reduced tests in comments 3 > > and 9), > > but they do not allow to check that fortran is not producing a wrong code > > instead of an ICE. > > > > I understand > > > > > However, I do not have a working code sample to run. > > > > as asking for such a test. > > Exactly. > > Taking this PR. It has some overlap to PR85797 and can probably be fixed > with the same patch. Ok, so you are still looking for a single Fortran source file using this feature, namely optional dummy procedure pointers, that would do something non-trivial with them and produce PASS/FAIL output? If yes, then I can try making such a reduced test (if needed). I am just not familiar with GNU test requirements.