Re: [PATCH] Fortran: Fix diagnostic for ambiguous pointer function assignment [PR80012]
Steve Kargl <[email protected]>
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Feb 15, 2026 at 07:10:52PM +0100, Gonzalosilvalde wrote: > The error message for an ambiguous pointer function assignment contained > a FIXME and an embedded newline that the diagnostics printer does not > handle. Split the single gfc_error call into a gfc_error for the main > diagnostic and an inform note for the F2008 explanation, wrapped in an > auto_diagnostic_group. > This breaks FreeBSD. If the diagnostics printer cannot deal with '\n', just remove it from the current error message. -- Steve