Re: [PATCH] Fortran: -fc-prototypes, deferred shape and deferred length dummies [PR125902]
Thomas Koenig <[email protected]> Tue, 23 Jun 2026 07:02:57 +0200
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
Hello Harald, > the subject already says it: we emitted the wrong C prototypes for > deferred shape and deferred length dummies of interoperable procedures. > Here we need to pass pointers to a CFI_cdesc_t structure. > > There seems to be no existing testcase exercising -fc-prototypes, > unless I missed it. This one tests the output emitted by the frontend. Thanks for finding this method! I had not come across dg-begin-multiline-output before. PR 120220 is about lack of testing for -fc-prototypes; we can use that for other bugs fixed in the past; we have had some regressions due to the lack of testing. > OK for mainline / backport to 16-branch? Yes. Thanks for the patch! Best regards Thomas