https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80012

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Roland Illig from comment #0)
> from fortran/symbol.c:
> 
> gfc_error ("%s procedure at %L is already declared as %s "
>          "procedure. \nF2008: A pointer function assignment "
>          "is ambiguous if it is the first executable statement "
>          "after the specification block. Please add any other "
>          "kind of executable statement before it. FIXME",
> 
> As a translator, I'm not sure how to translate the FIXME here, since it
> looks like something needs to be done before putting this code into release.

I also don't think the \n does what is intended. The current diagnostics
printer does not handle new-lines (because they interact with the prefix
generation in non-obvious ways that nobody has bothered to fix).

This either needs another gfc_error call or gfc_note/info (not sure if Fortran
already has the latter).

Reply via email to