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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

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

--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #2)
> Is the following patch a step in the right direction?

---snip---

This all looks good to me except the following:

>  @item -fsecond-underscore
>  @opindex @code{fsecond-underscore}
> @@ -1355,8 +1365,7 @@ By default, GNU Fortran appends an under
>  names.  If this option is used GNU Fortran appends two
>  underscores to names with underscores and one underscore to external names
>  with no underscores.  GNU Fortran also appends two underscores to
> -internal names with underscores to avoid naming collisions with external
> -names.
> +internal names with underscores.
>  
>  This option has no effect if @option{-fno-underscoring} is
>  in effect.  It is implied by the @option{-ff2c} option.

It is confusing to me about names with underscores. For example, on internal
names, does foo_ become foo__ or foo___, appending one underscore to the
existing for a total of two or appending two more to the existing for a total
of three underscores.  I think the wording needs to be a little more concise.

Reply via email to