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

            Bug ID: 67059
           Summary: gfortran --version output is inconsistent with the
                    rest of GCC
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rivanvx at gmail dot com
  Target Milestone: ---

On Debian unstable with GCC 5.2.1 20150723 from experimental, I get

$ gcc --version
gcc (Debian 5.2.1-12) 5.2.1 20150723
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

and g++/gdc/gccgo shows analogous output. However, gfotran has a different
output

$ gfortran --version
GNU Fortran (Debian 5.2.1-12) 5.2.1 20150723
Copyright (C) 2015 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

which could be made more consistent with the rest of GCC. The attached patch
fixes the issue.

Reply via email to