To quote from the output of gcc -v --help on 
gcc (GCC) 4.3.0 20070323 (experimental):

----------------------------------
The following options are specific to the language Ada:
  -gnat<options>              Specify options to GNAT

The following options are specific to the language C:
 No options with the desired characteristics were found

The following options are specific to the language C++:
 No options with the desired characteristics were found
----------------------------------

As can be seen by comparing this to the output from 4.2, something seems to be
missing.  (What's missing from Ada is all the options shared with C,
specifically.)

Similarly, on the Fortran output, while the Fortran-specific options are
present, the ones shared with C and C++ aren't listed.  4.3 currently gives
----------------------------------
The following options are specific to the language Fortran:
  -J<directory>               Put MODULE files in 'directory'
  -Waliasing                  Warn about possible aliasing of dummy arguments
[...]
----------------------------------

However, 4.2 gives:
----------------------------------
The Fortran front end recognizes the following options:

  -I, -Wall, -Wconversion, -fopenmp, -fpreprocessed, -fshort-enums

  -J<directory>               Put MODULE files in 'directory'
  -Waliasing                  Warn about possible aliasing of dummy arguments
[...]
----------------------------------

The same problem with the missing shared options in the output occurs for other
languages as well.


-- 
           Summary: gcc -v --help returns no options for C, C++
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brooks at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31349

Reply via email to